Getting Services to work
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.