Re: Cocoa from the command line?
Re: Cocoa from the command line?
- Subject: Re: Cocoa from the command line?
- From: Jens Bauer <email@hidden>
- Date: Sun, 25 Jan 2004 18:04:55 +0100
Hi Kaaelin,
On Sunday, Jan 25, 2004, at 16:59 Europe/Copenhagen, Kaelin Colclasure
wrote:
On Sunday, Jan 25, 2004, at 03:00 Europe/Copenhagen, Kaelin
Colclasure wrote:
"Maybe I could just make a WebView, which I load my printable
HTML-page into, and then I save it in a file" (See >>>> CocoaDevCentral).
I'd suggest a plain Cocoa app with a command-line tool as a helper.
The tool could just parse its arguments and then send Apple Events
to the Cocoa app to get the interesting work done.
So in fact, you're saying that I should launch the Application first,
to make sure that it's running, and then make the app launch the
tool, which sends the commands to the app, which generates the PDF &
RTF(D); uhm, I could probably do that. Thanks for your suggestion. =)
I'd put it the other way 'round, actually: have the tool open the
application if it's not already open. You can accomplish this with
Apple Events as well. Anything an AppleScript can do, your tool could
do with Apple Events.
OK, now I see! :)
Thanks!
Love,
Jens
_______________________________________________
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.