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.
if (A_PriorHotkey <> "Volume_Mute" or A_TimeSincePriorHotkey > 400)
Send Single Press
Send Double Press
Unfortunately, when I double click the key, it outputs "Single PressDouble Press"
Any ideas why this might be happening?