Polling/probing the keyboard?

As_Simon simon at asato-media.com
Sat Dec 21 02:39:29 EST 2013


Hi Richond,
I just did a vb script for send keys today;

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.AppActivate "Untitled 1 *"
Wscript.Sleep 1000 'wait 1 seconds
WshShell.SendKeys "abcdefghijklmnopqrstuvwxyz"
WshShell.SendKeys "{ENTER}"
WScript.Quit

With that and a running exe (title bar "Untitled 1 *) the keys get caught by
the stack.
Not sure if that helps you but I figure you might then be able to map the
keys.

Simon



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Polling-probing-the-keyboard-tp4673942p4673964.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list