1

I am writing Contextual Menu Plugins for Leopard OS and referring Writing Contextual Menu Plugins for OS X, part 1 article by Brent Simmons. My plugin is working fine.

enter image description here
Is there any way to move my test menu into main menu (above the Label)?

Parag Bafna
  • 22,812
  • 8
  • 71
  • 144

2 Answers2

1

The short answer is "no".

The OS controls what gets displayed in that menu, so in order to change it around, you would need to call private methods, reimplement system-level functionality, and just in general do some Very Bad Things which would be unsafe, could break at a moment's notice, and possibly work differently between even dot releases of the same OS.

Mark F
  • 457
  • 2
  • 6
0

Yes, it's called a system service, and was introduced in OS X 10.5. I know for a fact that many applications can do this, and Automator routines can be triggered this way because Automator itself is a system service. To see a service applicable for an application (i.e. Finder) go to the Application menu on the top bar (for lack of better name T_T), such as the Finder bolded text, and go down to Services > and it will show you all services that can be used in the app. If you need pointers on how to build this, just comment here.

EDIT: Yes, a SIMBL plugin is also considered a service, and on second read of your question, that's what you want.

Aditya Vaidyam
  • 6,259
  • 3
  • 24
  • 26