Help a new user out Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Ned132

Help a new user out  Topic is solved

19 Mar 2017, 16:47

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.
A_AhkUser
Posts: 1147
Joined: 06 Mar 2017, 16:18
Location: France
Contact:

Re: Help a new user out

19 Mar 2017, 19:14

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
my scripts

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb, Google [Bot], mikeyww, TAC109 and 355 guests