in this example, where i tried to define a special case to close Microsoft Mail indiviual mail window.
IfWinActive ahk_class ATH_Note
Send !F4 ; close window
Send ^w ; close window
why would !F4 not work? Normally, pressing Ctrl+F4 would close the window. But it activates the menu instead (apparantly behaving as if Alt is pressed first, followed by F4, which Windows Mail ignores). ( ! c works though).
my question is, when i have syntax like !F4, does that always mean pressing Alt, release, then F4? Whats the syntaxt for pressing Alt and F4 together at the same time?
Xah ∑ http://xahlee.org/ ☄