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

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.

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