Please help me
Posted: 19 Sep 2020, 11:42
Hey i want to make a code like when i hold left click it makes my command and when i release it it stops.Please help
Let's help each other out
https://www.autohotkey.com/boards/
https://www.autohotkey.com/boards/viewtopic.php?f=18&t=81229
Code: Select all
LButton::
;Actions to do when LButton is pressed
return
LButton up::
;Actions to do when LButton is released
return
Code: Select all
LButton::
While, GetKeyState(A_ThisHotkey, "P")
{
;Commands to execute
}
Return