Re: Cocoa from the command line?
Re: Cocoa from the command line?
- Subject: Re: Cocoa from the command line?
- From: Kaelin Colclasure <email@hidden>
- Date: Sun, 25 Jan 2004 07:59:13 -0800
On Jan 25, 2004, at 5:43 AM, Jens Bauer wrote:
Hi Kaelin,
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.
-- Kaelin
_______________________________________________
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.