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.
Related Posts:
  • How to add bookmarking functionality to the OpenOffice.org suite of tools
  • An introduction to the OS X Terminal
  • How to run Dashboard Widgets on your OS X Desktop
  • How to SSH from your Windows Mobile Smartphone
  • How to integrate NirCmd with Launchy to enhance productivity
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

     

    You can always opt out of this email subscription at any time.


    Bookmark and Share

    { 10 trackbacks }

    error is the mother of all inventions
    06.14.07 at 9:45 pm
    » How To: Create your own right-click commands with OnMyCommand
    06.15.07 at 9:14 am
    her hotdog » Blog Archive » How To: Create your own right-click commands with OnMyCommand
    06.17.07 at 12:12 pm
    Do More with the OS X Right-Click Menu « Mac-aholic
    06.19.07 at 8:41 am
    HOWTO: Añadir opciones al menú del botón derecho de OS X » The Decline
    06.19.07 at 2:54 pm
    Diigo daily 06/20/2007 « fuzzybrain|daisychain|blogdrain
    06.20.07 at 9:33 am
    Para los “switchers”
    06.21.07 at 5:10 am
    Mod your context menus « 0ddn1x: tricks with *nix
    07.02.07 at 3:13 pm
    links for 2007-08-04 « geek notes
    08.04.07 at 1:26 am
    Top 10 Right-Click Tools - facebookat
    09.19.08 at 1:39 pm

    { 11 comments… read them below or add one }

    1 Alison 06.13.07 at 1:59 pm

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

    2 Anon E Mouse 06.13.07 at 9:35 pm

    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

    3 Rodrigo 06.13.07 at 11:23 pm

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

    4 Alain 06.15.07 at 2:42 pm

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

    5 Roxyhwfa 06.20.07 at 2:32 am

    Brilliant, what a really useful app!

    6 george 11.22.07 at 11:30 pm

    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!!

    7 Christian 01.06.08 at 4:18 pm

    Is this also working with Leopard?

    8 David 06.22.08 at 2:51 am

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

    I’m desperate.

    9 ojak 07.29.08 at 2:04 pm

    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?

    10 Simius 09.22.08 at 11:30 am

    Will it work with ProTools commands?

    11 Angel 10.24.08 at 2:15 am

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

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>