
连发是连续按键,还要间隔0.1秒,就是按一下还会d起,要按住E键不放应该用按键精灵!如图,打开按键精灵,编辑我的脚本:
E可以选择按住,然后选插入,然后脚本属性选无限循环到按终止键就行了,终止键一般是F12,简单吧!
如果是短时间的连发的话做长按是不错
如果是长时间都要连发的话
可以启用按一下启动
再按一下关闭
#Persistent
#SingleInstance
v_Enable=0
E::
{
v_Enable:=!v_Enable
If (v_Enable=0)
SetTimer, Label0, Off
Else
SetTimer, Label0, 1
}
Return
Label0:
{
Send,E
sleep 10
Send,8
sleep 10
Send,9
}
return
按住不放的就要这么写
#Persistent
#SingleInstance
$e::
Loop
{
if not GetKeyState("e", "P")
break
Send,E
sleep 10
Send,8
sleep 10
Send,9
}
return
Rem qDelay 175
Key1=WaitKey()
If Key1 = 69 Then
Rem q1
KeyPress "E", 1 //按下E键一次
Delay 50
KeyPress "E", 1 //第二次E键
Delay 175
Key1=WaitKey() //这里加入F条件,按其它键会跳到E,按F键则暂停脚本,再次按E又继续
If Key1 = 70 Then
Goto q
Else
Goto q1
End If
Delay 175
Else
Goto q
End If
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)