Re: NSApp with CLI access
Re: NSApp with CLI access
- Subject: Re: NSApp with CLI access
- From: email@hidden
- Date: Tue, 28 Jun 2005 07:40:48 -0500
> From: Michael Carter <email@hidden>
> Subject: NSApp with CLI access
>
> I'm designing an application which I'd prefer to be accessible both
> as a windowed app as well as through the command line. CLI access is
> desirable so that calls can be made via cron or script in order to
> extract data without an operator present.
>
> Is there a way to design the app to accommodate both? Or will I have
> to create a foundation tool to do the work and a windowed app to
> display the results?
Look at AppleScript:
http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/work_with_as.html
(specifically the last three sections on that page)
Hope this helps,
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden