tabs switching with AHK
Posted: 23 Jun 2009 10:30
Using the very popular AutoHotKey free program I assigned many keys and keys+mouse buttons to behave in a particular way in many programs.
Here with XY I made it so Ctrl+buttons 4 and 5 activate Ctrl+Tab and Ctrl+Shift+Tab.
This is very useful for me - Ctrl+MouseBack switches to previous tabs, while Ctrl+Forward goes to the next tab. Way too easier than aiming the tabbar with the cursor when you want to go 2-3 tabs away. Easier even than pressing three keys - Ctrl, Shift, Tab.
I know the scroll works there when you point the tabbar, but still you have to go and point the tiny tabbar.
Also, if the mouse driver supports the scroll tilting, you could make it so left-tilt switches tabs backward, right-tilt -> forward. I use a Logitech mouse so I didn't want to mess my system with the buggy setpoint so I cannot use the tilt in AHK.
I think a nice setup.
By the way, an option to use Ctrl+digit would be nice when one wants to activate a particular tab directly using the keyboard. The "digit" could reflect the relative position in the tabbar. This approach allows for a maximum of 10 tabs but would be nice.
I use AHK in a similar way, but with programs in the taskbar - bery useful to bring to front any window I want, with some hotkey.
Here with XY I made it so Ctrl+buttons 4 and 5 activate Ctrl+Tab and Ctrl+Shift+Tab.
This is very useful for me - Ctrl+MouseBack switches to previous tabs, while Ctrl+Forward goes to the next tab. Way too easier than aiming the tabbar with the cursor when you want to go 2-3 tabs away. Easier even than pressing three keys - Ctrl, Shift, Tab.
I know the scroll works there when you point the tabbar, but still you have to go and point the tiny tabbar.
Also, if the mouse driver supports the scroll tilting, you could make it so left-tilt switches tabs backward, right-tilt -> forward. I use a Logitech mouse so I didn't want to mess my system with the buggy setpoint so I cannot use the tilt in AHK.
I think a nice setup.
By the way, an option to use Ctrl+digit would be nice when one wants to activate a particular tab directly using the keyboard. The "digit" could reflect the relative position in the tabbar. This approach allows for a maximum of 10 tabs but would be nice.
I use AHK in a similar way, but with programs in the taskbar - bery useful to bring to front any window I want, with some hotkey.