How to add commands to the OS X "right-click" menu

Please note: this guide is now considered outdated, and the software no longer works the same way it used to, primarily due to changes in macOS. For additional information and a replacement app (of sorts) see Shortcuts by the same author as OnMyCommand.

However, if you’re still using an older version of OS X (10.6 or earlier) this guide and software is still relevant and works.

This tutorial will show you how to use OnMyCommand to create customized “right-click” (contextual) menus in OS X. If you’re a recent Windows ‘switcher’, you might have noticed that the right-click options lack some of the commonly used tasks (move-to, copy-to etc). OnMyCommand allows you to add these, and hundreds of other commands, back to your contextual menu.

customize the contextual menu items for os x

For the sake of this tutorial, I’m going to refer to “control-click” as “right-click”. As much as I love OS X – and it has become my primary OS by a long shot – I don’t think I’ll ever be happy using a single-button mouse.

  1. Installing OnMyCommand
  2. Installing some examples
  3. Installing more commands
  4. Editing your commands

Installing OnMyCommand

  1. First things first, download OnMyCommand from http://free.abracode.com/cmworkshop/
  2. Unpack the archive by double-clicking it. After it extracts it should automatically open the .dmg file. To install OnMyCommand, double-click the file Install OnMyCommandCM
  3. customize the contextual menu items for os x
    click to enlarge

  4. Decide if you want to install this program for all of the users on your Mac, or just yourself. Select the appropriate button.
  5. customize the contextual menu items for os x

  6. After the installation has completed successfully, you’ll need to restart Finder for the program to take effect. Click Do it for me now.
  7. customize the contextual menu items for os x

  8. Click Quit Finder. Finder will shut down (your desktop items will temporarily disappear and any open Finder windows will close) and then restart.
  9. customize the contextual menu items for os x

  10. Congrats – you’ve now installed OnMyCommand.

Installing some examples

  1. If you right-click a file or anywhere on your desktop, you’ll notice the menu hasn’t changed at all. Lets change that and install some of the example commands.
  2. Back in the .dmg file locate the folder titled Examples and then inside it, the folder titled First time users start here. Double-click the file Install example commands.
  3. customize the contextual menu items for os x
    click to enlarge

  4. Click Yes as you have no preferences to worry about.
  5. customize the contextual menu items for os x

  6. Click OK after the installation was successful.
  7. customize the contextual menu items for os x

  8. Finder will restart on its own (again, your desktop icons will momentarily disappear). Now right-click somewhere in a Finder window and in the context menu you’ll see an entry titled On My Command. Select it and click the entry titled Change dir and list contents in Terminal.
  9. customize the contextual menu items for os x
    click to enlarge

  10. A Terminal window will appear and show a detailed list of all the files in the folder that you right-clicked in.
  11. customize the contextual menu items for os x
    click to enlarge

Installing more commands

  1. Once more back in the .dmg file, open the OMCEdit folder, and drag OMCEdit to your Applications folder.
  2. customize the contextual menu items for os x
    click to enlarge

  3. Launch OMCEdit, make sure you’re connected to the Internet, and click the Download Commands button.
  4. customize the contextual menu items for os x
    click to enlarge

  5. Click Connect
  6. customize the contextual menu items for os x
    click to enlarge

  7. and about 500 pre-created commands will be downloaded.
  8. customize the contextual menu items for os x
    click to enlarge

  9. Find one that interests you, highlight it, and click the Append to Commands button.
  10. customize the contextual menu items for os x
    click to enlarge

  11. Try right-clicking a file or folder (depending on the command you installed) and confirm your newly added command is a part of the contextual menu. If you want to add more commands and you’ve closed OMCEdit, re-launch it and click the Cached Commands button.
  12. customize the contextual menu items for os x
    click to enlarge

  13. Since there are hundreds of commands, you may want to narrow down the list by using the Find box. If you’re interested in the commands that relate to MP3 files, use mp3 as a keyword.
  14. customize the contextual menu items for os x
    click to enlarge

  15. When you’re done, right-click on a file or folder and check out your new menu.
  16. customize the contextual menu items for os x
    click to enlarge

Editing your commands

  1. After you’ve installed a few commands, you can customize their location in the contextual menu, name etc. To do so, open OMCEdit, highlight the command you want to change, and click the Edit button.
  2. customize the contextual menu items for os x
    click to enlarge

  3. From here you can change just about everything relating to the command. If you want to put it in the “top level” of your right-click contextual menu (as opposed to being in the On My Command list) – select First Level from the Location: drop down list.
  4. customize the contextual menu items for os x
    click to enlarge

  5. For more info on using OMCEdit, see the OMCEdit ReadMe.rtf file in the .dmg
  6. If you can’t find a command in the list of pre-created commands, see the Tutorials folder inside the OnMyCommand .dmg file to create (and share) your own.

If this article helped you, I'd be grateful if you could share it on your preferred social network - it helps me a lot. If you're feeling particularly generous, you could buy me a coffee and I'd be super grateful :)

buy a coffee for simplehelp.net


Home » Mac » How to add commands to the OS X "right-click" menu

5 thoughts on “How to add commands to the OS X "right-click" menu”

  1. Thankyou for this!! There’s always more you can find with macOS. Here’s looking forward to Snow Leopard!

  2. thank you! its funny last week i was complaining to a friend that it was impossible to do this i guess i should tell him i was wrong haha

Leave a Comment

Your email address will not be published.