Hi everyone,
I would like to share a simple snippet where I use for my hotkey script.
I was searching for a solution whereby pressing a same key, I could have different outcome according to the way the key is being pressed.
1) Double tap/press fast (like double click the mouse) - outcome A
2) Long press or HOLD for awhile (2-4 sec) - outcome B
#Include <Timers.au3>
Global $interval_timer, $counter
HotKeySet("{F10}", "_terminate")