• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Exporting shell variables to AppleScripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Exporting shell variables to AppleScripts
      • From: Christopher Nebel <email@hidden>
    • Re: Exporting shell variables to AppleScripts
      • From: Philip Aker <email@hidden>
    • Re: Exporting shell variables to AppleScripts
      • From: "Gary (Lists)" <email@hidden>
References: 
 >Exporting shell variables to AppleScripts (From: Mike <email@hidden>)
 >Re: Exporting shell variables to AppleScripts (From: Brian Johnson <email@hidden>)
 >Re: Exporting shell variables to AppleScripts (From: "Mark J. Reed" <email@hidden>)
 >Re: Exporting shell variables to AppleScripts (From: Steve Hayman <email@hidden>)
 >Re: Exporting shell variables to AppleScripts (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Exporting shell variables to AppleScripts
  • Next by Date: Check if app exists
  • Previous by thread: Re: Exporting shell variables to AppleScripts
  • Next by thread: Re: Exporting shell variables to AppleScripts
  • Index(es):
    • Date
    • Thread