• 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
Developing a Stand-Alone Service in Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Developing a Stand-Alone Service in Snow Leopard


  • Subject: Developing a Stand-Alone Service in Snow Leopard
  • From: Steve Cronin <email@hidden>
  • Date: Mon, 14 Sep 2009 00:55:08 -0500

Foks;

I'm trying to develop a stand alone service in Snow Leopard.
The issue I'm running into is how to update the system as I compile a new version.
The pbs command shows that the bundle path is the one in my Release Build folder


"pbs -dump_pboard"
{
NSBundleIdentifier = "com.myCompany.myService";
NSBundlePath = "/Volumes/myMacBookPro/Projects/XYZ/Code/ build/Release/MyService.service";
NSKeyEquivalent = {
};
NSMenuItem = {
default = MyService;
};
NSMessage = myService;
NSPortName = myServicePort;
NSSendTypes = (
NSStringPboardType,
NSRTFPboardType,
NSTabularTextPboardType
);


So when I recompile I do the following:
1) 'Uncheck' the item in the SysPref/Keyboard/Services list
2) Compile a new version
3) run "/System/Library/CoreServices/pbs"
4) 'Check' the item in the SysPref/Keyboard/Services list
5) Test the service by using the context menu (which is appearing at the right time)


I have convinced myself that the only way to get Snow Leopard to recognize the newer version of the service is to log out and back in.
This is tedious. Is there something I'm missing?


Steve
_______________________________________________

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


  • Follow-Ups:
    • Re: Developing a Stand-Alone Service in Snow Leopard
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: testing ppc on intel
  • Next by Date: Re: Developing a Stand-Alone Service in Snow Leopard
  • Previous by thread: Re: testing ppc on intel
  • Next by thread: Re: Developing a Stand-Alone Service in Snow Leopard
  • Index(es):
    • Date
    • Thread