key to press same key, but also another key 8 seconds later? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ScottyScorch
Posts: 6
Joined: 08 Sep 2022, 17:02

key to press same key, but also another key 8 seconds later?

Post by ScottyScorch » 08 Feb 2023, 15:55

I'm looking for a script that when I press the F key it would press the F key once instantly, and the 8 seconds later press G. I have very little experience and would appreciate any help!!

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

Re: key to press same key, but also another key 8 seconds later?  Topic is solved

Post by mikeyww » 08 Feb 2023, 18:19

Code: Select all

#Requires AutoHotkey v2.0
~f::Sleep(8000), Send('g')

ScottyScorch
Posts: 6
Joined: 08 Sep 2022, 17:02

Re: key to press same key, but also another key 8 seconds later?

Post by ScottyScorch » 11 Feb 2023, 13:00

Thank you very much!! This works perfectly! Thank you!

Post Reply

Return to “Ask for Help (v1)”