Loading ...
Sorry, an error occurred while loading the content.

Re: Send keys to selected window even if it is not enabled or visible

Expand Messages
  • Dennis K. Paulsen
    The window would need to be enabled. I don t believe I ve tried with an invisible window, but I would think it would be as simple as: my ($window) =
    Message 1 of 2 , Nov 24, 2003
    • 0 Attachment
      The window would need to be enabled.

      I don't believe I've tried with an invisible window, but I would
      think it would be as simple as:
      my ($window) = FindWindowLike(0, "Title");
      SetForegroundWindow($window);
      SendKeys("Hello");


      Regards,
      Dennis K. Paulsen


      --- In perlguitest@yahoogroups.com, "rodeldb1" <rodel.bautista@d...>
      wrote:
      > Is it possible to use the SendKeys command even if the window is
      not
      > enabled or visible? Can you show me some example code to
      accomplish
      > this if it is possible?
      >
      > tia
      >
      > rodel
    Your message has been successfully submitted and would be delivered to recipients shortly.