Adding to an applications menu.
Adding to an applications menu.
- Subject: Adding to an applications menu.
- From: Ben Spink <email@hidden>
- Date: Mon, 3 Sep 2007 03:41:50 -0500
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