Assign keyboard shortcut to a button on Mighty Mouse?

Hi all,

I'm thinking about switching from my Logitech MX400 to Mighty Mouse (I'm starting not to like the shape of the logitech, too big. MM is a breeze to work with...) and I have a question.

The Logitech essentially has one button more (it has two side buttons, each separately programmable) and I use it for executing Cmd+H on the active app -- and I've grown pretty addicted to it. Hiding an app with a mouse is a lovely feat... And the second one is for Expose.

So, I have to decide which of the two feats I assign to the MM side buttons. And here goes my Q: If I decide on the hiding feat, is it possible to assign app hiding to the MM side buttons?

I was thinking maybe I could create an AppleScript that executes Cmd+H on an active app (is this possible at all with AS?) and assign the Apple script to those sides...

Or do you guys have any other ideas? The Logitech really has fantastic button binding possibilities, but the MM is really nice to work with...

Thanks in advance.

Black MacBook 2.2 GHz, Mac OS X (10.5.7)

Posted on Jun 6, 2009 11:54 AM

Reply
9 replies

Jun 6, 2009 2:19 PM in response to daniel kvasnicka jr.

You can't because there is no built-in mechanism for programming any mouse even the MM without using third-party software. SteerMouse is only a $20 shareware fee and worth it. It works with most all Logitech mice. I use it with Logitech's MX and VX Revolution mice. It's even more flexible than Logitech's own software. More importantly it works well with the MM. But of course the decision is yours. Spend $20 or spend hours only to discover there's no better or other solution.

Jun 6, 2009 3:12 PM in response to daniel kvasnicka jr.

Looks like that's the case... but this should do the trick when put before the tell command, which hides the app:

tell application "System Events"
keystroke tab using (command down)
end tell

This actually switches to the app used before the script app, which actually is the frontmost in my view. Looks like it works when I run it. We'll see how it's gonna work with the MM.

Jun 6, 2009 10:39 PM in response to daniel kvasnicka jr.

STAY AWAY FROM "SteerMouse"!!!

I installed the trial, and it made me reboot the computer after the install. I do so and after to boots up, I loose my "left" click! All I could do was move the cursor and RIGHT click, but no left click! The trackpad button was the same way.

Thankfully I keyboarded my way around the menus and got it uninstalled.

That was the end of that for me!!!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Assign keyboard shortcut to a button on Mighty Mouse?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.