Re: Creating an environment variable from AppleScript
Re: Creating an environment variable from AppleScript
- Subject: Re: Creating an environment variable from AppleScript
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 9 Oct 2006 19:33:43 -0400
On 10/9/06, Christopher Nebel <email@hidden> wrote:
On Oct 9, 2006, at 3:59 PM, Mark J. Reed wrote:
> I don't know if AS can read stdin, even from osascript.
It can't; there's a bug filed on that. I came up with a workaround
once, but it's fairly awful and requires waiting for all the input,
which removes one of the benefits of using a pipe in the first place.
Lemme guess: do shell script "cat >/tmp/foo" ? :)
osascript is an odd beastie, neither fish nor fowl, as it were. A
dialect of AppleScript that were better-integrated into the UNIX side
of things in addition to its natural support of AppleEvents would be
nifty. tell application "POSIX", maybe? :)
Meanwhile, I suppose we have Mac::Glue [and whatever that Python
equivalent is that Certan People on this list are always crowing
about. :)].
--
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