DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: Switch apps with mouse (like ALT+TAB)  (Read 7,923 times)

kadvlad

  • Participant
  • Joined in 2008
  • *
  • Posts: 3
IDEA: Switch apps with mouse (like ALT+TAB)
« on: November 19, 2008, 01:55 AM »
Hi, guys,

I'm a newbee here.
Is it possible to switch between applications with RightMouseButton+scroll like ALT+TAB?
Opera browser has this feature for cycling through tabs.

This idea came to mind after I found nice and fun AltEdge.
Thanks in advance!

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: IDEA: Switch apps with mouse (like ALT+TAB)
« Reply #1 on: November 19, 2008, 03:49 AM »
put these lines into your AHK script and it will do the trick or you can use the compiled exe.

Code
#SingleInstance force

~RButton & WheelDown::AltTab
~RButton & WheelUp::ShiftAltTab

kadvlad

  • Participant
  • Joined in 2008
  • *
  • Posts: 3
Re: IDEA: Switch apps with mouse (like ALT+TAB)
« Reply #2 on: November 19, 2008, 08:29 AM »
Thanks, friend!
I believe now that I have to rush studying this really useful program immideately :)

kadvlad

  • Participant
  • Joined in 2008
  • *
  • Posts: 3
Re: IDEA: Switch apps with mouse (like ALT+TAB)
« Reply #3 on: November 19, 2008, 11:40 AM »
Seems like I'm getting into..

~LButton & WheelDown::AltTab
~LButton & WheelUp::ShiftAltTab

This works slightly better for me, since RB (while long-pressing) evokes context menu in Total Commander (short-press selects file).

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: IDEA: Switch apps with mouse (like ALT+TAB)
« Reply #4 on: November 19, 2008, 11:58 AM »
Nice Idea.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: IDEA: Switch apps with mouse (like ALT+TAB)
« Reply #5 on: November 20, 2008, 02:43 AM »
the script sends a right-click button click each time when it's invoked. that's why the context-menu is triggered in TotalCmd but it's good that you found a work-around. :)

Original address: https://www.donationcoder.com/forum/index.php?topic=15797.0