Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Sending The key {ENTER} using WMSetText function in win32 module.

by marto (Cardinal)
on Feb 13, 2014 at 12:43 UTC ( [id://1074820]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1074820]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-24 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found