- 追加された行はこの色です。
- 削除された行はこの色です。
Windowsで動くキーマクロ?ソフト。定型のキーストロークやらマウスクリックやらを自動化してくれる。
擬似のキーボード/マウス操作は比較的簡単に自作プログラムで実現可能だが、そんなもんよりもマクロの書式やら何やら実行のための環境が簡潔に便利に仕上がっている専用ソフトを使った方が良い。
*link [#t72bb66f]
-[[本家:http://www.autohotkey.com/]]
-[[AutoHotkeyを流行らせるページ:http://lukewarm.s101.xrea.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
変数も使える。四則演算もできる
MyVar = 100
Loop 10
{
Send, Hello{enter}
Send, World{enter}
Send, %MyVar%
Send, {enter}
MyVar += 1
Sleep 100
}