I'm pretty new to AHK, so forgive me if I'm being silly. I have a media key that I would like to utilize for two different functions. I compiled this based off what I could find in documentation.
Code: Select all
Volume_Mute::
if (A_PriorHotkey <> "Volume_Mute" or A_TimeSincePriorHotkey > 400)
{
KeyWait, Volume_Mute
Send Single Press
return
}
Send Double Press
Return
Any ideas why this might be happening?