Need help with hockey

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
Evoll
Posts: 2
Joined: 25 May 2023, 21:16

Need help with hockey

Post by Evoll » 27 May 2023, 10:19

I am having difficulty with a simple script!
I want to create an .ahk or exe that would run at startup the key combo
^q9
The Ctrl and q key needs to be held down then 2 seconds later press the 9 key down and released.
TYIA
Would appreciate any help/feedback!!

User avatar
mikeyww
Posts: 26971
Joined: 09 Sep 2014, 18:38

Re: Need help with hockey

Post by mikeyww » 27 May 2023, 16:57

Welcome to this AutoHotkey forum!

Code: Select all

#Requires AutoHotkey v2.0
Send '{Ctrl down}{q down}'
Sleep 2000
Send '9{q up}{Ctrl up}'
SoundBeep 1500

Evoll
Posts: 2
Joined: 25 May 2023, 21:16

Re: Need help with hotkey

Post by Evoll » 27 May 2023, 21:16

That worked! I got close but the ‘{ stuff haven’t grasped yet and I thought PAUSE would work for timing. SLEEP worked great. Thank You

Post Reply

Return to “Ask for Help (v2)”