I am trying to make my hotkey LWin Up:: on the condition that it does not coincide with another hotkey. For example, suppose I have a hotkey such as #d:: and I activate it; how do I prevent LWin Up:: from being activated in such a case?
?LWin Up::
Started by
Guest
, Nov 03 2011 08:59 AM
3 replies to this topic
#1
-
Posted 03 November 2011 - 08:59 AM
You can't avoid Windows (or any OS) to release a key when you really release it...
LWin Up:: is a hotkey so you can't "disabled" it.
The only thing you can do is changing what it does when trigger :
LWin Up:: is a hotkey so you can't "disabled" it.
The only thing you can do is changing what it does when trigger :
Argh := False a:: Argh := False Return #a:: Argh := True Return #If (Argh = True) *a Up:: MsgBox special a up Argh := False Return #If (Argh = False) a Up:: MsgBox normal a up Return
#2
-
Posted 03 November 2011 - 10:02 AM
#If A_PriorKey = "LWin" ~LWin Up:: MsgBox LWin Up returnAutoHotkey_L v1.1.01+ required.
#3
-
Posted 03 November 2011 - 10:26 AM