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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to