Autohotkey 需要帮助创建一个简单的脚本吗
所以我不知道我到底在做什么,但我需要一个非常简单的脚本来帮助我 其基本思想是每秒按一个键(如k)四次,直到脚本被命令(Alt-x)关闭为止 我正在使用自动热键脚本编辑器。您可以使用 示例代码:Autohotkey 需要帮助创建一个简单的脚本吗,autohotkey,Autohotkey,所以我不知道我到底在做什么,但我需要一个非常简单的脚本来帮助我 其基本思想是每秒按一个键(如k)四次,直到脚本被命令(Alt-x)关闭为止 我正在使用自动热键脚本编辑器。您可以使用 示例代码: F1:: ;key that launches this code SetTimer, SendKeyK,250 ;set timer to repeat every 250 miliseconds return
F1:: ;key that launches this code
SetTimer, SendKeyK,250 ;set timer to repeat every 250 miliseconds
return ;end
F2::
SetTimer, SendKeyK,Off ;turn of the timer
return
SendKeyK:
Send, {k} ;timer sends (presses) the key k
return
如您所见,无需退出脚本