So im pretty new to this program and i want to learn from an already made code, so for example:
A left button click then waits 8.2 seconds and clicks another key.
Thanks.
Help a new user out Topic is solved
Re: Help a new user out
Code: Select all
#MaxThreadsPerHotkey 1 ; This setting is used to control how many "instances" of a given hotkey or hotstring subroutine are allowed to exist simultaneously - here 1
LButton:: ; Left mouse click will trigger subroutine
sleep, 8200 ; waits 8,2 seconds (8200ms)
send, #e ; WIN+E will be clicked (which will open and root windows explorer @ C:\ since it's a native windows hotkey combinaison)
return ; when the subroutine triggered by pressing LButton encounter returns it stops
!x:: ; ALT+X if you want exit the program
ExitApp
return