in reply to Re^2: Sending The key {ENTER} using WMSetText function in win32 module.
in thread Sending The key {ENTER} using WMSetText function in win32 module.

I'm sure OP would appreciate a short but complete example illustrating how this can be achieved. Thanks. Apologies, I've never found MSDN documentation to be great to use :)

  • Comment on Re^3: Sending The key {ENTER} using WMSetText function in win32 module.

Replies are listed 'Best First'.
Re^4: Sending The key {ENTER} using WMSetText function in win32 module.
by Anonymous Monk on Feb 13, 2014 at 12:23 UTC

      Ah, so simply:

      WMSetText($hwnd, "herp\r\nderp\r\n");

      which works works on a non active window. Thank you, I'd missed this in the docs.