Please help me
Please help me
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
- ositoMalvado
- Posts: 48
- Joined: 24 Dec 2019, 12:02
Re: Please help me
Code: Select all
LButton::
;Actions to do when LButton is pressed
return
LButton up::
;Actions to do when LButton is released
return
Re: Please help me
do i write my code instead of "actions"?
- Yakshongas
- Posts: 591
- Joined: 21 Jan 2020, 08:41
- Facebook: Yakshongas
Re: Please help me
Code: Select all
LButton::
While, GetKeyState(A_ThisHotkey, "P")
{
;Commands to execute
}
Return
Please mark your topics as solved if you don't need any further help. 
Need a little more help? Discord : Yakshongas#9893 🕹

Need a little more help? Discord : Yakshongas#9893 🕹