• 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: NSApp with CLI access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Replacing a method via categorys
  • Next by Date: Re: Where is NSXMLChildren defined?
  • Previous by thread: Re: NSApp with CLI access
  • Next by thread: Help with centering custom views in NSTabView
  • Index(es):
    • Date
    • Thread