in reply to Sending The key {ENTER} using WMSetText function in win32 module.
If you are talking about the Win32::GuiTest module (please be specific when posting, How do I post a question effectively?) SendKeys "Sends keystrokes to the active window as if typed at the keyboard", I added the empahsis to this quote. You can't use this to send keystrokes to windows which are not active.
The Win32::GuiTest method WMSetText is an interface to WM_SETTEXT, which also only sets the text of an active Window. This is not a perl or Win32::GuiTest specific thing. This is how the interface is designed.
Update: Please read the following conversation in the responses below. Thanks Anonymous Monk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sending The key {ENTER} using WMSetText function in win32 module.
by Anonymous Monk on Feb 13, 2014 at 11:53 UTC | |
by marto (Cardinal) on Feb 13, 2014 at 12:02 UTC | |
by Anonymous Monk on Feb 13, 2014 at 12:23 UTC | |
by marto (Cardinal) on Feb 13, 2014 at 12:43 UTC |