Simulating the keyboard in other applications
Posted: Wed Apr 17, 2013 4:53 pm
Hi,
I am trying to find a way to send "virtual keystrokes" to the computer. I know that the "type" command sends keystrokes to LiveCode, but I need it to be sent to the whole computer.
For example:
My Application would be running in the background, receiving messages and then typing text into Microsoft Word. Unfortunatly I cannot just use the "write to file" command, as the keystrokes would need to be sent to other applications, Like Control Panel, or used in shortcuts Ctrl+S.
I don't mind using the command line via the "shell" command, as long as it worked with Windows, Mac OS X and Linux.
Any Ideas?
I am trying to find a way to send "virtual keystrokes" to the computer. I know that the "type" command sends keystrokes to LiveCode, but I need it to be sent to the whole computer.
For example:
My Application would be running in the background, receiving messages and then typing text into Microsoft Word. Unfortunatly I cannot just use the "write to file" command, as the keystrokes would need to be sent to other applications, Like Control Panel, or used in shortcuts Ctrl+S.
I don't mind using the command line via the "shell" command, as long as it worked with Windows, Mac OS X and Linux.
Any Ideas?