~LWin Up::return nor ~*LWin Up::return can open the "start" button when release.
1.1.22.09 Win7 64bit AHK 64bit
~LWin Up blocked
~LWin Up blocked
我为人人,人人为己?
Re: ~LWin Up blocked
It blocks the start menu but does not block the key-down or key-up. This is intentional/by design, and also applies to the Alt keys.
Re: ~LWin Up blocked
So, ~ is not necessary here, and could use $LWin Up::Send {LWin up} instead?
我为人人,人人为己?
Re: ~LWin Up blocked
No...
Re: ~LWin Up blocked
Currently, I Send {Lwin} in ~LWin Up:: to open start menu. Although don't know the effect of ~ here.
我为人人,人人为己?
Re: ~LWin Up blocked
LWin up:: will block the key-up event. It will also block the key-down event if you don't have ~LWin::. This will prevent you from using LWin to activate system hotkeys, like LWin+E for Explorer. As I said, ~LWin up::return does not.
Send {LWin} sends key-down and key-up without any intervening keystrokes, so is different to Send {LWin up}.
Send {LWin} sends key-down and key-up without any intervening keystrokes, so is different to Send {LWin up}.
Re: ~LWin Up blocked
Strange, ~LWin Up::return or ~*LWin Up::return now can open the "start" button. I can't reproduce the error.
Thank you.
is unexpected comprehend, be it so.LWin up:: will block the key-up event. It will also block the key-down event if you don't have ~LWin::
Thank you.
我为人人,人人为己?
Re: ~LWin Up blocked
Why? Didn't you read the manual?RobertL wrote:is unexpected
It works both ways; key:: also blocks the key-up event.An "Up" hotkey without a normal/down counterpart hotkey will completely take over that key to prevent it from getting stuck down. One way to prevent this is to add a tilde prefix (e.g. ~LControl up::)
Source: Hotkeys (Mouse, Joystick and Keyboard Shortcuts)
Re: ~LWin Up blocked
I found my problem, code above is incomplete, should be: asterisk is option
will block start menu. I think Up is stand alone, so didn't metion key-down, which is there and take effect.
I'm not sure if these case exists and be considered: LWin is put down by send or set only LWin up by Hotkey after down was pressing, where there is no LWin down hotkey.
Code: Select all
~*LWin::
~*LWin Up::return
because the independence I conceived. Thank you for pointing that section on manualis unexpected
I'm not sure if these case exists and be considered: LWin is put down by send or set only LWin up by Hotkey after down was pressing, where there is no LWin down hotkey.
我为人人,人人为己?
Who is online
Users browsing this forum: No registered users and 6 guests