Windowsで動くキーマクロ?ソフト。定型のキーストロークやらマウスクリックやらを自動化してくれる。

擬似のキーボード/マウス操作は比較的簡単に自作プログラムで実現可能だが、そんなもんよりもマクロの書式やら何やら実行のための環境が簡潔に便利に仕上がっている専用ソフトを使った方が良い。

*link [#t72bb66f]
-[[本家:http://www.autohotkey.com/]]

*sample [#m79d1f6c]
使い始めたばかりに作ったもの。

 F3::
 InputBox, UserInput, Iteration, Please enter an iteration number., , , 
 if ErrorLevel <> 0
 {
 	MsgBox, Canceled
 	return
 }
 
 MsgBox, 4, , You entered "%UserInput%". OK?
 IfMsgBox, No
 {
 	MsgBox Canceled
 	return
 }
 
 Loop %UserInput%
 {
 	Send, Hello{enter}
 	Send, World{enter}
 	Send, {enter}
 	Sleep 100
 }
 MsgBox Finished
 return