Re: Calling shell script, returning results.
Re: Calling shell script, returning results.
- Subject: Re: Calling shell script, returning results.
- From: Joe <email@hidden>
- Date: Fri, 19 Dec 2008 10:10:55 -0800
At 8:52 AM -0700 12/19/08, Doug McNutt wrote:
>Some examples of actual AppleScript text illustrating each of the
>options would really be valuable as a part of the presentation of the
>dictionary. A Script Editor option to paste an example in the current
>editing window when a dictionary item is option_clicked would be
>Apple-like. Displaying the actual AppleEvent codes would also be
>useful.
I strongly second that. Something like what Apple does on the man page for textutil would have helped me a lot.
EXAMPLES
textutil -info foo.rtf
displays information about foo.rtf.
textutil -convert html foo.rtf
converts foo.rtf into foo.html.
textutil -convert rtf -font Times -fontsize 10 foo.txt
converts foo.txt into foo.rtf, using Times 10 for the font.
textutil -cat html -title "Several Files" -output index.html *.rtf
loads all RTF files in the current directory, concatenates their con-
tents, and writes the result out as index.html with the HTML title set to
"Several Files".
The examples section of that particular man page made the descriptions of the commands much more understandable. Without examples, I was having a lot of difficulty puzzling out how to write what I needed just from the descriptions - Yes, I'm very, very new to shell scripting.
AppleScript dictionaries could really benefit from a few examples as well.
Joe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden