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.
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.
- First things first, download OnMyCommand from http://free.abracode.com/cmworkshop/
- 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
- Decide if you want to install this program for all of the users on your Mac, or just yourself. Select the appropriate button.
- After the installation has completed successfully, you’ll need to restart Finder for the program to take effect. Click Do it for me now.
- Click Quit Finder. Finder will shut down (your desktop items will temporarily disappear and any open Finder windows will close) and then restart.
- Congrats – you’ve now installed OnMyCommand.
Installing some examples
- 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.
- 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.
- Click Yes as you have no preferences to worry about.
- Click OK after the installation was successful.
- 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.
- A Terminal window will appear and show a detailed list of all the files in the folder that you right-clicked in.
Installing more commands
- Once more back in the .dmg file, open the OMCEdit folder, and drag OMCEdit to your Applications folder.
- Launch OMCEdit, make sure you’re connected to the Internet, and click the Download Commands button.
- Click Connect…
- and about 500 pre-created commands will be downloaded.
- Find one that interests you, highlight it, and click the Append to Commands button.
- 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.
- 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.
- When you’re done, right-click on a file or folder and check out your new menu.
Editing your commands
- 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.
- 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.
- For more info on using OMCEdit, see the OMCEdit ReadMe.rtf file in the .dmg
- 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.
5 thoughts on “How to add commands to the OS X "right-click" menu”
Thankyou for this!! There’s always more you can find with macOS. Here’s looking forward to Snow Leopard!
Thanks for explaining this so well. You think you know macOS, and then something new comes up…again
Why isn’t this prog featured on more mac sites it’s fantastic – thanks!!
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
holy smokes this is exactly what i’ve been looking for thank you SO much!