I would like to remap Tab key in such a way that:
- On Tab key down it BEHAVES AS WINDOWS(SUPER) KEY waits for extra key like ex: m or t and perform some action like maxize window(ex: WIN+m, WIN+t). It waits, and Tab repeating is blocked.
- On Tab key Up(alone) with no extra key, Tab key behave like normal Tab key (one Tab character)
How to write such an AutoHotKey script?
$Tab::
Send, {LWinDown}
KeyWait, Tab
if ( A_PriorKey = "LWinUp")
Send, {LWinUp}
else
Send, {Tab}
return
For the moment I have such a general solution but it still repeats Tab.