Which Mouse Button?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
cjreeder
Newbie
Posts: 1
Joined: Tue Dec 09, 2003 10:39 pm

Which Mouse Button?

Post by cjreeder » Tue Dec 09, 2003 10:49 pm

I run a left-handed mouse. When I use the command LClick, Macro Scheduler takes me very literally, and clicks my left mouse button. It does not take into account the fact that I'm running a left-handed mouse and I do left clicks with the RIGHT button. I would, of course, prefer they were labeled "index click" and "ring-finger click" or something like that.

So, the real question is, how do I make an executable macro that will run identically on a machine with either a left- or a right-handed mouse?

OS: WinXP

Chris

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Dec 10, 2003 12:01 am

:idea: How about creating two separate macros (MouseSwitch2R, MouseSwitch2L) to toggle between left/right hand mouse?

Do this in miminized windows. This could be done through Control Panel, Mouse settings, but I bet these values can be read/modified in an INI file or a Registry Settings. I just don't know where they are at this time.

Then you can start your macro by calling the MouseSwitch2R macro, run through the script, then call the MouseSwitch2L macro at the end.

By having separate macros, you can do this once and call them in future macro scripts.

You could also start your main macros with a prompt to change from your default mouse settings to another. Timeout with a default. If default is changed, then call the MouseSwitch2x macros, else forget calling them. If you can ID the INI or Registry setting, then you can read that file directly and make the decision to modify without using a prompt.

Of course, if your macro pauses for user interface, the user will be using the mouse buttons most recently defined by your current macro. So we should add a CAUTION window if the SwitchMacro2x is called?

:arrow: Now all we need is the location that stores the Mouse L/R button info. Who will be first with the answer?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts