• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding to an applications menu.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding to an applications menu.


  • Subject: Re: Adding to an applications menu.
  • From: Karsten <email@hidden>
  • Date: Mon, 3 Sep 2007 12:11:10 +0200

i think you can't do anything without code injection here... maybe you should try Application Enhancer from Unsanity, or try to go with an inputmanager, which don't work under 10.5 though... another way is the Mach* bundle which you could also try.

anyway, what you have to do is get a bundle loaded in finder and in this bundle you can add something to this menu, or change some implementations.... if Finder has a plugin architecture this should be pretty easy, but i guess it doesn't.

I think there's a project to add svn support to finder, they use Mach* so maybe that's a start

Kind Regards
Karsten



Am 03.09.2007 um 10:41 schrieb Ben Spink:

This should be an easy question.

I need to add a new item under the "Go" menu in the OS X Finder. My client has stipulated this, otherwise I would not do so. I have tried to talk them out of it, but so far no luck.

I have edited the objects.xib file contained in /System/Library/ CoreService/Finder.App/Contents/Resources/English.lproj/Menus.nib/.

I added my new entries in there, picked an ID that did not appear to be used (716), assigned a key, but what do I do with the "command" entry? If I leave it as is, it launches the command I copied instead of doing something I want. I assume there is some listener that is catching all events generated by the menu. Can I hook into that in some way?

Is it possible to register a command to launch a specific application on the machine? Or launch a specific path?

I cannot seem to figure that part out.

My experience in Cocoa is limited.

Any suggestions on this?

Is it possible?

Thanks,
Ben
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Adding to an applications menu. (From: Ben Spink <email@hidden>)

  • Prev by Date: Re: Adding to an applications menu.
  • Next by Date: Re: programmatically free memory
  • Previous by thread: Re: Adding to an applications menu.
  • Next by thread: Re: Adding to an applications menu.
  • Index(es):
    • Date
    • Thread