• 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 08:54:28 +0200

xcgr schrieb:
That only works if your echo handler is called at the very end of the
run handler. It does not produce any output if you call it earlier in
the script.

My mistake :-( You are absolutely right.

But now that we have a (disfunct) handler, let's fix it:

  to echo(something)
     do shell script "echo >`tty` " & quoted form of something
  end echo

_______________________________________________
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: "Mark J. Reed" <email@hidden>
References: 
 >Re: osascript and text output (From: xcgr <email@hidden>)

  • Prev by Date: Re: osascript and text output
  • Next by Date: Re: reading a property list item
  • Previous by thread: Re: osascript and text output
  • Next by thread: Re: osascript and text output
  • Index(es):
    • Date
    • Thread