• 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: Calling shell script, returning results.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Calling shell script, returning results. (From: "Michele (Mike) Hjorleifsson" <email@hidden>)
 >Re: Calling shell script, returning results. (From: Chris Page <email@hidden>)
 >Re: Calling shell script, returning results. (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: UPS ShutDownScript4Xserve
  • Next by Date: Re: Tell Blocks Considered Harmful
  • Previous by thread: Re: Calling shell script, returning results.
  • Next by thread: Re: Calling shell script, returning results.
  • Index(es):
    • Date
    • Thread