I'm in the process of porting a Windows application to OS X (we wrote it in Java so most of the code is portable), but what I'm currently unsure of is how to add context menu items in the Finder window when the user right clicks on an item (i.e. I wish to add some items to the the menu that has "Open" "Open with" , "Get Info", etc... when the user right clicks).
Most of the articles I've found deal specifically with Windows (I've searched for "context menus" and "shell extension", but I believe I may be searching the wrong terms), so I'm curious as to how to go about adding this in Mac or what literature I should be reading.
Control-click on a Mac is similar to right-click on a Windows computer—it's how you open shortcut (or contextual) menus on a Mac. Control-click: Press and hold the Control key while you click an item. For example, Control-click an icon, a window, the toolbar, the desktop, or another item.
Change what's in the toolbar: Choose View > Customize Toolbar. You can drag items into and out of the toolbar, add a space between items, and choose whether to show text with the icons. Rearrange the items in the toolbar: Press and hold the Command key, then drag an item to a new location.
Add a file to the sidebar: Press and hold the Command key, then drag the file to the Favorites section. If you don't see the Favorites section, choose Finder > Preferences > Sidebar, then select at least one item in the Favorites section.
You may want to take a look at using Services. The Finder appends applicable Services to the end of its contextual menu and, depending on your needs, just fit the bill.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With