Code: Select all
*LAlt::SetKeyDelay(-1), Send("{LAlt down}{Shift}"), KeyWait("LAlt")
~*LAlt up::SetKeyDelay(-1), Send("{Blind}{LAlt up}")
*RAlt::SetKeyDelay(-1), Send("{RAlt down}{Shift}"), KeyWait("RAlt")
~*RAlt up::SetKeyDelay(-1), Send("{Blind}{RAlt up}")
<!w::Send "^w"
<!t::Send "^t"
For example, LAlt + W to close current tab and LAlt + T to open a new tab in browsers.
But with 2.0.14, I can no longer use them as modifier keys.
BTW, the well-known way to suppress Alt menu is just buggy and unreliable.
Code: Select all
*~LAlt::Send "{Blind}{vkE8}"