1

I'm trying to port Java application to Mac OS, My program needs to add items to Finder context menu, Is there a way to add items using Java?

Thanks

Feras Odeh
  • 9,136
  • 20
  • 77
  • 121
  • The answer, I believe, is no, you cannot do this just with Java code. You can create entries in the `/Library/Contextual Menu Items/` path but what exists there is in Mac binary format. – Gray Oct 13 '10 at 22:57
  • See here: http://stackoverflow.com/questions/1294335/how-to-write-os-x-finder-plugin – Gray Oct 13 '10 at 22:59
  • Is there work arounds? I mean write it in other language and call it in java? – Feras Odeh Oct 14 '10 at 04:16

1 Answers1

2

An old question, but for prosperity, I'd like to try to answer this.

The Liferay Nativity (Java) library is a cross-platform way of programatically adding icon overlays and context menus to file browsers, for Mac, Windows and Linux.

On Mac, Liferay Nativity relies on the Objective-C-based 'Finder Sync' framework:

Big Rich
  • 5,864
  • 1
  • 40
  • 64