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

Re: Service not working


  • Subject: Re: Service not working
  • From: Gregory Weston <email@hidden>
  • Date: Tue, 23 Jun 2009 04:31:36 -0400

Guillem Palou wrote:

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.  ...

<key>NSServices</key>
	<array>
		<dict>
			...
			<key>NSMenuItem</key>
			<dict>
				<key>Menu item title</key>
				<string>Get Movie Info</string>
			</dict>
		</dict>
</array>

<http://devworld.apple.com/documentation/Cocoa/Conceptual/SysServices/Concepts/properties.html#//apple_ref/doc/uid/20000852-CHDJDFIC >


"NSMenuItem is a dictionary that specifies the text of the Services menu item. The solitary entry has the key default. ..."

You've got the wrong key name. It's literally supposed to be "default."
_______________________________________________

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


  • Prev by Date: Re: Any Cocoa Developers on this list in Tallinn, Estonia?
  • Next by Date: *** -[NSBundle Load] : Error loading code
  • Previous by thread: Re: Service not working
  • Next by thread: CalendarStore and delegated calendars
  • Index(es):
    • Date
    • Thread