Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to set my mouse's customisable button to open Notification Centre on OS X Mountain Lion.

Is this possible?

share|improve this question
Welcome to Ask Different! What make/model is your mouse and what driver software are you using? Are you talking about the scroll wheel button or a different button? – Nathan Greenstein Jul 25 '12 at 19:58

Depending on your mouse and driver software, your best bet would probably be to set a keyboard shortcut for Notification Center and program your mouse button to trigger that shortcut.

You can set up the shortcut in System Preferences -> Keyboard -> Keyboard Shortcuts -> Show Notification Center. enter image description here

The setup for your mouse driver will vary, but on a Razer mouse you can assign the button to a Keyboard Function and type your shortcut.

enter image description here

share|improve this answer
USBOverdrive is great as a generic customisable mouse driver. – Alex Aug 5 '12 at 2:43

You could also use BetterTouchTool paired with an Apple keyboard shortcut as shown:

BTT Settings Keyboard Shortcuts

share|improve this answer

If you don't have customizable mouse software, you can write an AppleScript to perform the keystroke and then attach the mouse button to the script.

The script I used is:

tell application "System Events" to keystroke "N" using {command down, control down, option down, shift down}

You will have to adjust the keystroke and the modifier keys to suit whatever you set in the Keyboard Shortcuts preference pane.

Save the script as an application bundle, then stick it somewhere (I put it in ~/Library/Scripts). Adjust your mouse button in System Preferences to open the application bundle.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.