Question

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?

No correct solution

OTHER TIPS

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

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top