Services CMM Working in Cocoa & Carbon?
Services CMM Working in Cocoa & Carbon?
- Subject: Services CMM Working in Cocoa & Carbon?
- From: Bernie Zenis <email@hidden>
- Date: Wed, 4 Sep 2002 00:00:21 -0400
Hi,
Has anyone come up with a CMM, which adds the Services menu to
contextual menus, that works in both Cocoa and Carbon apps? I'm looking
for an "elegant" solution. For example, I don't want to go looking
through all the Info.plist files in all the apps & services in their
folders when that's already been done by the system.
In Cocoa apps, my CMM works perfectly. (For those looking to do the
same, here's a hint: [[[NSApplication sharedApplication] servicesMenu]
update].)
In Carbon apps, my CMM gets a NULL from [gNSApp servicesMenu]. If I make
a NSMenu and use [gNSApp setServicesMenu:servicesMenu], I get the "Cocoa
app version" of the Services menu with all items disabled.
I suspect that there is something Cocoa related that would solve the
problem (eg, maybe calling [gNSApp finishLaunching]?); but, I'm posting
to both lists just in case.
BTW, when I searched the lists' archives there were too many hits to
read them all.
Thanks,
Bernie
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.