Re: Dynamic Services Menu
Re: Dynamic Services Menu
- Subject: Re: Dynamic Services Menu
- From: Mike Ferris <email@hidden>
- Date: Thu, 12 Dec 2002 09:48:16 -0800
No!!! Not allowed! ;-)
Seriously, though, as you say, you really cannot count on the person
running your app having permission to write in the app wrapper. Quite
often (and for many possible reasons) this is just not true. Avoiding
the need to write in the app wrapper is what the ~/Library/Application
Support folders are for... and NSUserDefaults, for that matter.
Mike
Begin forwarded message:
From: Sheehan Olver <email@hidden>
Date: Wed Dec 11, 2002 10:02:18 PM US/Pacific
To: Dan Wood <email@hidden>
Cc: email@hidden
Subject: Re: Dynamic Services Menu
I probably won't do this since it's asking for trouble, but I'm
curious if it's possible to edit your own Info.plist during runtime?
Perhaps there is even someway to get the system to reread the
Info.plist. I guess even if this would work, you can't guarantee the
user has write access, but it would still be neat if it worked... On
the other hand, it's probably easier to just file a bug report.
On Wednesday, December 11, 2002, at 11:48 PM, Dan Wood wrote:
You can't; I've verified this with folks at Apple. Please file a
bug with Apple at bugreport.apple.com -- maybe if enough of us see
the need for it and tell Apple, it might happen one day. (I, for
one, would love to have Watson plug-ins advertise services, but it
would need to be constructed at run-time, since we don't know what
plug-ins are loaded until then.)
Regards,
Dan Wood
On Wednesday, December 11, 2002, at 07:36 PM, Sheehan Olver wrote:
I was wondering if its possible to change the services menu of an
app on the fly? I've been throwing around in my mind an app that
allows you to 'pipe' text from a gui app to a unix app, such as
selecting text and using 'sort' to sort it. Now I could just use
info.plist, but I would really like a plugin architecture so that
adding new unix commands is modularized. Also, it would be nice to
only display the items that are visible. I would think there would
be some way to access the NSMenu related to the Service Menu, kinda
like a Dock Menu, but I can't seem to find reference to doing
something like >> that.
_______________________________________________
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.
--
Dan Wood
Karelia Software, LLC
email@hidden
http://www.karelia.com/
Watson for Mac OS X: http://www.karelia.com/watson/
_______________________________________________
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.
_______________________________________________
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.