• 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 with optional input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Service with optional input


  • Subject: Re: Service with optional input
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 02 May 2011 21:27:36 -0700

On 2011 Apr 30, at 19:45, Jim Thomason wrote:

> Can I provide a service with optional input?
>
> I want the user to be able to call the service with a text string input, but it's also reasonable to call it w/o any input at all.

> Any ideas about how I can implement it?

Since no one else replied, I'm fairly confident in saying "No".  My reading of the documentation is that the ill-named "Services" in Mac OS X are designed very narrowly, for one purpose only: processing strings.

The only instance in which you can do anything else, without resorting to hacks, is if the app you want to "serve" has an extension or plugin API, which usually means a huge programming and maintenance effort.

_______________________________________________

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 with optional input
      • From: Jean-Christophe Helary <email@hidden>
  • Prev by Date: Re: Binding multiple NSTableView and NSPopupButton to an NSArrayControler
  • Next by Date: Re: Service with optional input
  • Previous by thread: WunderRadio MMS streaming: Want to hear!
  • Next by thread: Re: Service with optional input
  • Index(es):
    • Date
    • Thread