Another Alt + Tab, with a twist

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
cduck28z
Posts: 3
Joined: 26 Jul 2019, 23:52

Another Alt + Tab, with a twist

15 Apr 2021, 22:14

Good Evening,

I've tried several times (unsuccessfully) at writing a very simple script. I essentially want to turn my mouse wheel into my ALT TAB, but with bit more functionality. I would like to hold down RButton and scroll either WheelUp or Wheel Down to pull up my AltTabMenu, and for it to remain open until I release RButton. While the AltTabMenu is open, further scrolling UP or DOWN with the mouse wheel will scroll through my open tabs until I find the one that I'm looking for. Once the correct tab is highlighted, releasing RButton will pull up the selected tab and close AltTabMenu.

I'm sorry if this is a poor description, but any help is greatly appreciated!
User avatar
boiler
Posts: 17107
Joined: 21 Dec 2014, 02:44

Re: Another Alt + Tab, with a twist

15 Apr 2021, 23:14

Like this?

Code: Select all

~RButton & WheelUp::AltTab
~RButton & WheelDown::ShiftAltTab
that1ahkpro
Posts: 3
Joined: 16 Apr 2021, 09:20

Re: Another Alt + Tab, with a twist

16 Apr 2021, 09:29

boiler wrote:
15 Apr 2021, 23:14
Like this?

Code: Select all

~RButton & WheelUp::AltTab
~RButton & WheelDown::ShiftAltTab
should be good to go except some thing like

Code: Select all

keydown
might work? for the last part
User avatar
boiler
Posts: 17107
Joined: 21 Dec 2014, 02:44

Re: Another Alt + Tab, with a twist

16 Apr 2021, 09:44

that1ahkpro wrote: should be good to go except some thing like

Code: Select all

keydown
might work? for the last part
The script I posted does the last part as well.
cduck28z
Posts: 3
Joined: 26 Jul 2019, 23:52

Re: Another Alt + Tab, with a twist

29 Apr 2021, 21:59

boiler wrote:
15 Apr 2021, 23:14
Like this?

Code: Select all

~RButton & WheelUp::AltTab
~RButton & WheelDown::ShiftAltTab
So simple and it works perfectly. Thank you so much! One less thing I have to do with my keyboard and one more reason to love my gaming mouse for every-day tasks!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 153 guests