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: Sat, 24 Jan 2004 18:00:33 -0800
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.
FWIW,
-- Kaelin
On Jan 24, 2004, at 3:11 PM, Jens Bauer wrote:
Hi all,
This probably caught your attention? -Why would I want to use Cocoa
from the command-line ?
I've been thinking a lot about this; it keeps coming back to me, as
I've made a cgi-script, which assembles my Web-sites, and I generate
printable HTML-pages from the same template, that is used on the main
Web-site.
But I want to do more. I want to make RTF and PDF files available to
the user too.
So I thought: "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).
Would this be possible directly from the command-line ? -It'd be
silly, if I had to write everything from scratch.
If it's not possible from the command-line, is it possible to use the
"open" command to generate a connection between the command-line tool
and the HTML-to-PDF/RTF/RTFD program?
And last question: would this work from a CGI script too ? (It's not a
must for me, though).
If anyone would like to use this idea, feel free, I don't plan to make
money on it, I just want to make things easier for myself.. =)
...If I get it to work, I'll make the sources available...
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.
_______________________________________________
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.