Re: Debugging NSService

2009-07-02 Thread Laurent Cerveau
Hi Peter Thanks for the tips. I ended up finding that yes the Service was appearing but in Finder only. I think the main confusion was between the steps of having the service appear in the menu and the service menu item being enabled or not. It looks like a trick to simply appear is, for

Re: Debugging NSService

2009-06-25 Thread Peter Ammon
Hi Laurent, There are a number of reasons why your Service may not appear in the menu. Off the top of my head: 1) Your send and receive types may not be handleable by anything in the app. In particular, NSFilenamesPboardType is not vended by NSTextView, so I would expect your Service to

Re: Debugging NSService

2009-06-25 Thread mmalc Crawford
On Jun 23, 2009, at 7:34 AM, Laurent Cerveau wrote: I want to add a service to my application. So I created the service entry in the plist, implemented the methods with proper signature, register the service at Application Did Finish launching time but unfortunately I never see my service

Re: Debugging NSService

2009-06-25 Thread Greg Guerin
Laurent Cerveau wrote: Simply retrying to see if there could be any idea on this one as I still have trouble getting success Obtain a working example of a service. Carefully compare what it does with what yours does. Revise as necessary. It's usually a lot simpler to start with something th

Re: Debugging NSService

2009-06-25 Thread Laurent Cerveau
Simply retrying to see if there could be any idea on this one as I still have trouble getting success Thanks for the help laurent On Jun 23, 2009, at 5:45 PM, Laurent Cerveau wrote: I realize I did not provide a lot of information. So the Plist of my apps looks like : NSServices

Re: Debugging NSService

2009-06-23 Thread Laurent Cerveau
I realize I did not provide a lot of information. So the Plist of my apps looks like : NSServices NSMenuItem default EnclickTo

Debugging NSService

2009-06-23 Thread Laurent Cerveau
Hi I want to add a service to my application. So I created the service entry in the plist, implemented the methods with proper signature, register the service at Application Did Finish launching time but unfortunately I never see my service appearing in the Services menu (after login and