"Personal Filed", "Work Filed", etc) but that's a bit more complicated.Even though it doesn’t have any multimedia keys, I love my keyboard, but the lack of volume control buttons is a bit uncomfortable for me. to macros I wrote which move the currently selected message(s) to specific folders (eg. I also find it useful in Outlook to map ALT+1, ALT+2, etc.
Bind the Forward button to close the current tab Make the Back button on the mouse jump you back to the previous area Make the middle mouse button jump to the definition of any tokenĬlick Left put the cursor where you clicked Here's the snippet I use to handle it, including a couple additional helpful bindings: SetTitleMatchMode, 2 Move this line to the top of your script Visual Studio 2010 can't easily be added to the CtrlCloseGroup above, as it's window class / title aren't easily predictable (I think). #IfWinActive, ahk_class MozillaUIWindowClass In FireFox, bind to Ctrl+W instead, so that the close command also works
For everything else, bind mouse button to Alt+F4 For windows in above group, bind mouse button to Ctrl+F4 (Add more programs that use tabbed documents here) GroupAdd, CtrlCloseGroup, ahk_class Chrome_WidgetWin_0 Google Chrome GroupAdd, CtrlCloseGroup, ahk_class IEFrame Internet Explorer Create a group to hold windows which will use Ctrl+F4 instead of Alt+F4 Bind Mouse Button 5 to Close Tab / Close Window command
To take into account programs that use tabbed documents (like web browsers), here's a more comprehensive version:. #IfWinActive Close active window when mouse button 5 is pressed With a 5-button mouse, I find this a very useful reassignment of the "Forward" button. It's one of the actions you perform most often in Windows, and you'll be surprised at how much time you save by no longer having to shoot for that little X. Here's a dead-simple snippet to quickly close the current window using a mouse button.