Re: Exporting shell variables to AppleScripts
Re: Exporting shell variables to AppleScripts
- Subject: Re: Exporting shell variables to AppleScripts
- From: Doug McNutt <email@hidden>
- Date: Thu, 20 Sep 2007 06:23:24 -0600
At 23:13 -0400 9/19/07, Mark J. Reed wrote, and I extracted::
>On 9/19/07, Steve Hayman <email@hidden> wrote:
> > system attribute "ENVVARNAME"
>>
>> to retrieve the value of an environment variable.
>
>Oh! well, there ya go. Problem solved.
At 06:25 +0100 3/24/07, KOENIG Yvan wrote, and I extracted:
>Date: Sat, 24 Mar 2007 06:25:29 +0100
>To: Applescript Users <email@hidden>
>Subject: Re: Two quick questions
>Le 23 mars 07 à 23:21:49, Ted Fitzpatrick a écrit :
>
>>Where did you learn that "system attributes" would return the OS version?
>
>I got it in a sample script delivered by Apple.
Does anyone know when "system attributes" was added? Can I use it in 10.3.9? The earlier stuff back in March was talking about a variable called "sysv". I don't see that in my environment variables as $sysv so "system attributes" must have other options. What are they?
And why is this list the only place in the world where such information gets published with a subject line like "Two quick questions"?
I am fond of creating a terminal session for temporary display of progress information. I use osascript to create a new named Terminal window and I send shell commands over there so I can get the effect of a background program with something to look at. I'm betting that a new Terminal session does not get my current environment as a starting point even in Tiger, Are we really sure that my environment is transferred to osascript? Programming by experiment is such a good way to create bugs.
--
--> If the US citizens between 18 and 21 would exercise their right to vote we wouldn't have a 21 year drinking age. <--
_______________________________________________
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