this code.
#inputlevel 1 lalt::lwin lwin::lalt #inputlevel 2 !a:: #a:: tooltip pressed %a_thishotkey%. return from understanding, inputlevel 2 executed first, inputlevel 1, means if press lalt key , key, screen show pressed !a, if press lwin key , key, screen show pressed #a.
however screen shows nothing. key not captured.
do miss anything? want capture hotkey first remapping.
when press alt + a lalt::lwin hotkey being fired first , !a:: hotkey being ignored. if want fire !a:: regardless of first hotkey fired must add ~ on lalt::lwin hotkey native function (necessary perform alt+a) isn't going blocked.
it may easier understand example:
#inputlevel 1 ~lalt:: tooltip first pressed %a_thishotkey%. ~lwin:: tooltip first pressed %a_thishotkey%. #inputlevel 2 !a:: #a:: tooltip pressed %a_thishotkey%. return ps: if want ignore modifiers (maybe) being held down can add wildcard * on !a:: , #a:: hotkeys. so, in end, hotkeys this: ~lalt::lwin ~lwin::lalt *!a:: , *#a::
Comments
Post a Comment