Re: Really dumb question . . .
Re: Really dumb question . . .
- Subject: Re: Really dumb question . . .
- From: Christopher Nebel <email@hidden>
- Date: Mon, 25 Jul 2005 23:58:14 -0700
On Jul 25, 2005, at 7:28 PM, Mark J. Reed wrote:
On 7/25/05, Mark J. Reed <email@hidden> wrote:
[H]ow, when a script is running under osascript, can I write to
standard output? log() doesn't seem to send things anywhere from
osascript.... I know that the return value of the on run handler
is automatically echoed, but I'm looking for a way to report
progress along the way, not just output a big string all at the end.
Oh, and just in case it's not clear, 'do shell script "echo ..." '
is not really what I'm looking for. Holy overkill. :)
Heh. Well, if you rule that out, then no, there's no built-in way.
Realize that AppleScript grew up in a world where the idea of
"standard output" was meaningless. There's an enhancement request on
this, as well as making "log" go to stderr, but feel free to write
your own. It's useful to have actual use cases instead of just "it
seems like this would be handy."
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden