Chris, when I try to use this...
MButton::AltTabMenu
WheelDown::AltTab
WheelUp::ShiftAltTab
... it doesn't work correctly. For me it only makes the selected window
flash on the taskbar but it doesn't bring it to the top and it doesn't give focus to it.
When I use something like....
MButton::
Send, {LAlt Down}{TAB}
Sleep, 2000
Send, {LAlt Up}
return
... it does bring the selected window correctly to the top and activates it.
I looked at the source-code and I think it must have to do with this section
in hook_include.cpp:
Code:
if (alt_tab_menu_is_visible) // Can be true even if which_alt_down is zero.
{
if (hotkey_id_to_fire != HOTKEY_ID_ALT_TAB_AND_MENU) // then it is MENU or DISMISS.
{
KeyEvent(KEYUP, which_alt_down ? which_alt_down : VK_MENU);
if (this_key.as_modifiersLR && vk != VK_LWIN && vk != VK_RWIN && !key_up)
KeyEvent(KEYUP, vk); // Can't send sc here since it's not defined for the mouse hook.
alt_tab_menu_is_visible = false;
break;
}
}
Anyone else having this behavior?