What would be a good language to send keystrokes to third programs. Such as skype, emulators, and such. It can be a scripting language or an OOP language. Any suggestions?
Asked
Active
Viewed 79 times
2 Answers
1
The following works in PowerShell:
[void] [System.Reflection.Assembly]::LoadWithPartialName("'Microsoft.VisualBasic")
[Microsoft.VisualBasic.Interaction]::AppActivate("Readme.txt - Notepad")
[void] [System.Reflection.Assembly]::LoadWithPartialName("'System.Windows.Forms")
[System.Windows.Forms.SendKeys]::SendWait("ABCDEFGHIJKLM")
Source: http://technet.microsoft.com/en-us/library/ff731008.aspx

TLama
- 75,147
- 17
- 214
- 392

Chriseyre2000
- 2,053
- 1
- 15
- 28
0
AutoIt - http://www.autoitscript.com/
AutoHotkey - http://www.autohotkey.com/
I personally prefer AutoIt because its not as cryptic but both are easy to learn and pretty powerful when it comes to creating macros.

Blacky372
- 19
- 4
-
Generally, try not to answer questions asking to find tools. I get that you wanted to answer this question, but link-only answers usually don't help, and even though this question was basically asking for exactly that, you shouldn't answer with a bunch of links only. – Joeytje50 Feb 16 '14 at 18:48