osx - Mac shortcut keys: How to add a generic "About [app]" to keyboard shortcuts?

22
2013-10
  • Cawas

    I want to add a shortcut to "About" for every software, just like most of them have CMD+, for entering preferences.

    But this could as well be a question used for many other things, since I want to do it through either Automator, Script or just System Preferences, if possible.

    Any hints on how to do this? Please, no third part solutions.

  • Answers
  • Lauri Ranta
    
    tell application "System Events"
        try
            set a to name of process 1 where frontmost is true
            tell process a to click menu bar 1's menu bar item 2's menu 1's menu item 1
        end try
    end tell
    

    The same approach also works for Undo* and Redo* in most applications.

    How to assign a shortcut for running an Applescript


  • Related Question

    osx - Switching between keyboards in mac - shortcut key?
  • alok

    What shortcut key do you use to switch keyboards on your mac? Windows uses Alt + Shift, and on the Mac the default is Apple + Space. However, that's also the shortcut for spotlight.

    I ended up disabling the spotlight shortcut.

    What's your preferred keyboard switching shortcut?


  • Related Answers
  • Jasper

    On a Mac I use Command + Shift + Z to switch languages. I was already used to Alt + Shift from Windows and, since Command + Shift alone wasn't a valid combo, I just added the nearest key (Z).

  • Jasper

    Since I use GNOME-DO on Linux, and used to use Google Desktop Search on Windows, I changed the spotlight shortcut to Ctrl + Space, and use Apple + Space for language switching.