新手求一个脚本
ahk吧
全部回复
仅看楼主
level 1
2023年02月19日 13点02分 1
level 1
~$q::
KeyWait,q,up,t2
if ErrorLevel =1 ;超时
{
send {q down}
loop
{
KeyWait,q,D,t0.1
if ErrorLevel =1
{
continue
}
if ErrorLevel =0
{
send {q up}
break
}
}
}
if ErrorLevel =0 ;触发
{
return
}
return
2023年02月22日 09点02分 2
完美,谢谢
2023年02月22日 17点02分
可以帮帮我吗
2023年02月22日 18点02分
level 1
global X,Y := ""
$q::
{
global
send "{q down}"
X := A_TickCount
keywait "q"
}
$q up::
{
global
Y := A_TickCount - X
if Y<2000
send "{q up}"
}

2025年01月11日 04点01分 4
1