Fwd: Really dumb question . . .
Fwd: Really dumb question . . .
- Subject: Fwd: Really dumb question . . .
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 25 Jul 2005 22:51:11 -0400
Forgot that replies don't automagically go to the list here; sent this only to Michelle by mistake.
Note that the command-line arguments functionality I mention below is new in Tiger.
---------- Forwarded message ----------
From: Mark J. Reed <
email@hidden>
Date: Jul 25, 2005 10:39 PM
Subject: Re: Really dumb question . . .
To: Michelle Steiner <email@hidden>
I want to send some text to the terminal in which I'm running
osascript. AppleScript doesn't normally have a standard output,
but osascript does. I mean, AppleScript doesn't normally have the
concept of "command-line arguments", either, but it does when invoked
via osascript (they get passed to the run handler as a single argument
which is a list of strings).
Outputting to standard out (or standard error) would seem to be a
perfect thing to do with log(), but as far as I can tell, log() is a
no-op under osascript.
On 7/25/05, Michelle Steiner <email@hidden
> wrote:
On Jul 25, 2005, at 7:07 PM, Mark J. Reed wrote:
> but how, when a script is running under osascript, can I write to
> standard output?
What do you mean by standard output? So far as I know, that term
doesn't exist in Applescript.
-- Michelle
--
"Condoms encourage promiscuity
- in the same way that seat belts encourage automobile accidents."
O.C. Brown
--
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:
This email sent to email@hidden