新手求教 如何让脚本长按shift键和鼠标左键 Topic is solved
Posted: 21 Apr 2024, 04:01
自己试着写了写 发现按下运行键之后脚本会一直长按shift键和鼠标左键 没法停止
Let's help each other out
https://www.autohotkey.com/boards/
https://www.autohotkey.com/boards/viewtopic.php?f=27&t=129091
Code: Select all
#Requires Autohotkey v1.1
;------------------------
~$+Lbutton:: ;- SHIFT + LBUTTON
Loop
{
GetKeyState,Lmouse,LButton,P
If Lmouse = U
break
tooltip,LBUTTON PRESSED 鼠标左键 running....
}
tooltip
return
;------------
esc::exitapp ;- quit script with ESC
;============