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

by Ross McKillop on June 12, 2007

Mac

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, or visit http://knut.macdisk.de/.
  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.
  • Alison

    holy hell this is exactly what i’ve been looking for thank you SO much!

  • Anon E Mouse

    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

  • http://www.google.com Rodrigo

    Why isn’t this prog featured on more mac sites it’s fantastic – thanks!!

  • Pingback: error is the mother of all inventions

  • Pingback: » How To: Create your own right-click commands with OnMyCommand

  • Alain

    I’m looking for “Send with Thunderbird”, but i don’t find it. Thank you so much if you can help me!

  • Pingback: her hotdog » Blog Archive » How To: Create your own right-click commands with OnMyCommand

  • Pingback: Do More with the OS X Right-Click Menu « Mac-aholic

  • Pingback: HOWTO: Añadir opciones al menú del botón derecho de OS X » The Decline

  • Roxyhwfa

    Brilliant, what a really useful app!

  • Pingback: Diigo daily 06/20/2007 « fuzzybrain|daisychain|blogdrain

  • Pingback: Para los “switchers”

  • Pingback: Mod your context menus « 0ddn1x: tricks with *nix

  • Pingback: links for 2007-08-04 « geek notes

  • george

    How do i make a right clock “open url” and “make link” something happen and now i cannot make a link in a email… please help!!

  • http://utechristian.wordpress.com Christian

    Is this also working with Leopard?

  • David

    Has anybody figured out how to use “Send to Mail” to work with Thunderbird?

    I’m desperate.

  • ojak

    Is there any way to flatten the “More” menu in Leopard (ie. the way it was in Tiger and the examples above)?

    When I set “Location” to “Top Level”, they do not show up in the top level, rather they show up in the “More” menu, which is painfully annoying. Any ideas?

  • Pingback: Top 10 Right-Click Tools - facebookat

  • Simius

    Will it work with ProTools commands?

  • http://www.angelssecret.co.uk Angel

    Thanks for explaining this so well. You think you know macOS, and then something new comes up…again

  • http://www.bullmans.co.uk Containers

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

  • Steve

    Having a problem getting burn to disc to work, when I select the add-on.. on my command and try to run the add-on to test it, it gets an error message: return error 1703. Also I don’t have the edit button on my app.
    Thank
    Steve

  • Pingback: Customizing your context menus with On My Command - James Andrews

  • http://L4rs.com Lars Hundere

    WHY HASN’T ANYONE ASKED ABOUT SNOW LEOPARD COMPATIBLITY?

    (maybe it’s already been mentioned and I overlooked it?)

  • Guido

    It seems that OMC is not compatible with Snow Leopard. I tried with my MacBook Pro with no look.

    Can anybody confirm this?

    Cheers,

    Guido

  • Guido

    Ok, I sorted it out! Snow Leopard does not support contextual menu items anymore; rather, it uses services. You need Shortcut from the same software house of OMC in order to run OMC. Everything is explained here:

    http://www.abracode.com/free/cmworkshop/macosx_10_6_snow_leopard_and_contextual_menu_plugins.html

    Cheers,

    G.

  • Giovanni

    @Guido from the link you posted it looks as though you must go to “More items” to get.
    All I really want is to add a “Rename” option directly above Copy on my right-click menu. I assume this is not possible and it would end up under “More items”?

  • Guido

    @Giovanni
    I do not know how you could do that, Giovanni… however in Finder you can rename a file by selecting it and pressing the return key.

    The solution I pointed out involves using a customizable keyboard shortcut to call the contextual menu; moreover, Shortcut allows you to assign keyboard shortcuts to contextual menu elements. It is particularly useful in conjunction with On My Command. For example, I created a “Create new text file and edit it in default text editor” element with OMC and then I used Shortcut to assign assign to it the Command + Alt + N shortcut.

    Cheers,

    Guido

  • Pingback: E-mailing photos like windows - MacTalk Forums

  • Pingback: One thing I can't really do on a mac - Ultimate Metal Forum

  • Bob

    Has anybody figured out how to use “Send to Mail” to work with Thunderbird?

  • Roger

    this is not working on Lion.. or what… I did everything like here, but its not showing anything on menu, nor in services.

    Any idea?

  • http://www.facebook.com/people/John-Orban/1229829093 John Orban

    NO HELP – I’m using Mountain Lion!