AutoHotKey脚本不工作

AutoHotKey脚本不工作

问题描述:

我有一个应用程序,我们经常使用F1 .... F12 KEYS。 F2显示下拉列表,Shift + F4选择一条记录,F10提交记录等......我想自动执行上述任务。由于我是新手AutoHotkey的,我写了基本的脚本如下AutoHotKey脚本不工作

^j:: 
    send, {f2} //This will show user dropdown list 
    send, {+f4} // Shift+F4 will select a record 
    send, {f12} //User visits last page 
    send, {+E} // Ctrl+E expands a record 
    send, {f10} //Commit 
Return 

的第一行代码的作品,但它是停留在2号线,。我做错了什么

+0

'+'应在'{'之前,并且您可能要在每次发送之后插入'sleep 100'。 Ctrl-E是'^ e'。 – wOxxOm

+0

@wOxxOm我认为你是对的......虽然我现在无法在家中测试它,但我想它会起作用。我想批准您的评论为正确答案 –

+1

我建议使用更具描述性的问题标题 –

@wOxxOm是对的。

SetKeyDelay, 180 
^j 
send, {f2} 
send, +{f4} 
send, {f12} 
send, ^e 
send, {f10} 
return