Re: Can a Service display a UI?
Re: Can a Service display a UI?
- Subject: Re: Can a Service display a UI?
- From: Scott Ahten <email@hidden>
- Date: Sat, 29 May 2004 14:08:13 -0400
Ahh... That explains it.
I was basing my service on the "SimpleService" example, which is a
bundle and has no UI. I currently have a working service that processes
a string and returns it back to the application that called it.
However, the user can't change the default processing options and would
most likely want to see statistics when the operation is complete.
So, assuming there is no way to load a nib and display a dialog box
from my bundle, I'll need to migrate to an application. But I would
prefer to have the UI disappear when processing is complete. I guess I
can have the application quit when it's service method was called.
If my service is an application, can I still put it in the
Library/Services folder? Maybe I just need to bite the bullet and make
a full-blown application out of it?
Thanks, everyone, for your assistance.
- Scott
On May 29, 2004, at 11:35 AM, Ondra Cada wrote:
Scott,
On 28.5.2004, at 22:19, Scott Ahten wrote:
I'm building a simple service that processes a string. After the
users invokes my service I would like to display a UI to..
- Allow the user to change the default processing configuration
- Show statistics generated during processing
Is it possible to display a UI within the services framework?
There is no special "services framework": any application (and some
other bundles, too) may publish a service through its Info.plist. When
the service is used, the application code is run, and the application
can do just anything--including going foreground and showing its GUI.
---
Ondra Dada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
- - - - -
:: email@hidden
::
http://www.pixelfreak.net
- - - - -
_______________________________________________
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.