topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 18, 2024, 4:20 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

kadvlad

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
IDEA: Switch apps with mouse (like ALT+TAB)
« on: November 18, 2008, 07:55 PM »
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
    • View Profile
    • Donate to Member
Re: IDEA: Switch apps with mouse (like ALT+TAB)
« Reply #1 on: November 18, 2008, 09:49 PM »
put these lines into your AHK script and it will do the trick or you can use the compiled exe.

#SingleInstance force

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

kadvlad

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

kadvlad

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: Switch apps with mouse (like ALT+TAB)
« Reply #3 on: November 19, 2008, 05: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

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: IDEA: Switch apps with mouse (like ALT+TAB)
« Reply #4 on: November 19, 2008, 05:58 AM »
Nice Idea.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: IDEA: Switch apps with mouse (like ALT+TAB)
« Reply #5 on: November 19, 2008, 08:43 PM »
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. :)