Re: osascript and text output
Re: osascript and text output
- Subject: Re: osascript and text output
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 28 Jul 2008 13:49:51 -0400
On Mon, Jul 28, 2008 at 2:54 AM, Skeeve <email@hidden> wrote:
> to echo(something)
> do shell script "echo >`tty` " & quoted form of something
> end echo
Good thought; shame it's that hard to do from AS, though.
I would use /dev/tty instead of `tty`, as it avoids any potential
weirdnesses due to inherited tty file descriptors in processes that
can't open the tty by full pathname. Plus it saves a process, for
whatever that's worth when you're already shelling out.
--
Mark J. Reed <email@hidden>
_______________________________________________
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