• 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
Getting Services to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting Services to work


  • Subject: Getting Services to work
  • From: Reza Farhad <email@hidden>
  • Date: Mon, 11 Mar 2002 12:15:53 +0000

Dear all
I am trying to explore services and I thought the best place to start was to
compile and run the simple services app that comes as an example in the
developers folder.

In that example, as you might know, there are are two example an example of
a "Service processor" "open file" which works, and of "Service
processor/provider", "Capitalise" which does not work. In TextEdit once I
select the text the service becomes available, but however when it is called
nothing happens. I have put an "NSBeep" in the call to verify that the
function does get called and it does.

Checking all the documentation in regards to Services it seems to indicate
that an NSTextView does support both sending and receiving text based
services as a standard function of the class.

Could anybody tell why the example is not working?

Also if one wanted to create a service providing function only, for example
at a selection point get the current date pasted, how would one go about it.
The standard text view services do not become active if no text is selected.

With thanks
Reza
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: An image for the current cursor?
  • Next by Date: Fonts, please help!
  • Previous by thread: An image for the current cursor?
  • Next by thread: Fonts, please help!
  • Index(es):
    • Date
    • Thread