Does Notification Center have keyboard shortcuts?

Are there any keyboard shortcuts for controlling Notification Center on OS X Mountain Lion? Of particular interest is a shortcut equivalent of the Click to Tweet button that appears at the top of Notification Center (when the requisite option is selected in the Notifications settings pane), but if it happens to have other shortcuts (either predefined, or definable in System Preferences - I couldn't see any) those would be useful as well.


There is a configurable keyboard shortcut to open Notification Center:

Other than that, there seems to be no way to configure any keyboard shortcuts. The closest I could get is discovering that you can set Notification Center as the action for a hot corner. If you wanted to do this when a key is pressed, you can try combining this with AppleScript (like in this post).


The proper answer to this question is "No." But that's not a very satisfying answer. So if you're determined to have keyboard shortcuts for Click to Tweet in Notification Center, this is what you can do:

Warning: this is a complete and utter hack, but it seems you can (for now; this might break easily) trigger the Tweet button through a very delicate use of UI scripting.

  • Create an Automator service.

  • Give it a single action: Run AppleScript

  • Here's the script:

    tell application "System Events"
        tell process "Notification Center"
            click menu bar item 1 of menu bar 1
            click button 1 of UI element 1 of row 2 of table 1 of scroll area 1 of window "window"
            keystroke "Whatever text you want as your default tweet"
        end tell
    end tell
    
  • Save the service (obviously modify it from my example), assign it a keystroke in System Preferences, and voila: you've got a keyboard shortcut… until Notification Center gets rearranged and button 1 of UI element 1 of row 2 of table 1 of scroll area 1 of window "window" is no longer the Tweet button.

If this looks convoluted, that's because it is. If this isn't something you want to use, I don't blame you, and you can fall back on the answer of "no, there aren't keyboard shortcuts."