• 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
Service not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Service not working


  • Subject: Service not working
  • From: Guillem Palou <email@hidden>
  • Date: Mon, 22 Jun 2009 23:37:22 -0400

Hi folks,

I'm trying to develop an application that acts as a service, but I cannot make it appear on the Services Menu and I cannot execute it on the applications. I tried to search for similar posts with no success and looked at the documentation at least 4 times with no luck either.
See If somebody can help me :)
Here Is the portion of the .plist files corresponding to the Service entry


<key>NSServices</key>
	<array>
		<dict>
			<key>NSMessage</key>
			<string>serviceMovieInfo</string>
			<key>NSPortName</key>
			<string>MovieInfoReport</string>
			<key>NSReturnTypes</key>
			<array>
				<string>NSStringPboardType</string>
			</array>
			<key>NSSendTypes</key>
			<array>
				<string>NSStringPboardType</string>
			</array>
			<key>NSMenuItem</key>
			<dict>
				<key>Menu item title</key>
				<string>Get Movie Info</string>
			</dict>
		</dict>
</array>

The methods are defined like they are put on the file; After compiling I've put the application with .app and .service in the places to see if it works but no luck either...

Anyone has some ideas?

Many thanks to all!

Guillem



_______________________________________________

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: Service not working
      • From: Guillem Palou <email@hidden>
  • Prev by Date: Re: Opinion on managed memory and garbage collection
  • Next by Date: CalendarStore and delegated calendars
  • Previous by thread: Re: stepping in unit test
  • Next by thread: Re: Service not working
  • Index(es):
    • Date
    • Thread