title: System-wide hotkey for an application
body: <p>I have a simple window with 3 buttons and I am trying to add a system-wide hot key so i can "press" those buttons without having to switch to that app, press a button and then go back to what I was doing.</p>
  
  <p>Something like <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>1</kbd> press button 1, <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>2</kbd> press button 2, etc.</p>
  
  <p>Is there any way to achieve this in Cocoa (with Objective-C)?
  Thanks, code is appreciated since I am a total newbie on Cocoa.</p>