• 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: osascript and text output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: osascript and text output


  • Subject: Re: osascript and text output
  • From: Skeeve <email@hidden>
  • Date: Mon, 28 Jul 2008 06:43:29 +0200

xcgr schrieb:
similar to using the "echo" command in a shell script.
Why don't you use "echo"?

osascript -e '
   on run
       set helloworld to "Hello World!"
       echo(helloworld)
   end run

   to echo(something)
      do shell script "echo " & quoted form of something
   end echo
'

Okay: More complicated then necesary ;-) But now you have an echo-handler
_______________________________________________
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
  • Follow-Ups:
    • Re: osascript and text output
      • From: xcgr <email@hidden>
References: 
 >osascript and text output (From: xcgr <email@hidden>)

  • Prev by Date: Re: perhaps I'll ask again on the Mail scripting thing
  • Next by Date: Re: how do I retrive a podcast's URL
  • Previous by thread: osascript and text output
  • Next by thread: Re: osascript and text output
  • Index(es):
    • Date
    • Thread