2009-08-25

Windows AutoHotKey: closing the current tab or app

how can i create a hot key, so that, it'll either close a tab if there's a tab in the app, or close the app?

if i do Ctrl+w or Ctrl+F4, that closes tabs in browsers, but if i'm in say Windows Mail, Ctrl+w takes me to newsgroup subscription and Ctrl+F4 does nothing.

basically i want a simple key to close whatever i see, without needing to figure out it is Ctrl+w, Ctrl+F4, or Alt+F4.

Thanks.

Xah ∑ http://xahlee.org/

No comments:

Post a Comment