• 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: Creating a folder on the desktop (recap)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a folder on the desktop (recap)


  • Subject: Re: Creating a folder on the desktop (recap)
  • From: "Gary (Lists)" <email@hidden>
  • Date: Fri, 09 Sep 2005 19:02:49 -0400

"Christopher Nebel" wrote:

> On Sep 8, 2005, at 9:31 PM, Mark J. Reed wrote:
>
>> I'm guessing that while there are constructs in AS to get the
>> user's home directory etc,  there's no way to read arbitrary
>> environment variables directly; you have to go through the shell with
>> something like (do shell script "echo \"$BLAH\"") ... is that true?
>
> No.  "system attribute" was extended some time ago to look for
> environment variables if the Gestalt selector lookup fails:
>
> system attribute "HOME" --> "/Users/me"
> system attribute "SHELL" --> "/bin/sh"

That's good to know, Chris. Thanks for pointing that out.

Mark, in case you are interested, for about 3 weeks I've been experimenting
with a freeware called 'RCEnvironment', which is from Rubicode.  It's a user
preference pane which allows the making, setting and getting of environment
variables.

I've found a number of uses for it, and so...passing along.

<http://www.rubicode.com/Software/RCEnvironment/>
--
Gary

 _______________________________________________
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

References: 
 >Re: Creating a folder on the desktop (recap) (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Creating a folder on the desktop (recap)
  • Next by Date: Re: Creating a folder on the desktop (recap)
  • Previous by thread: Re: Creating a folder on the desktop (recap)
  • Next by thread: Re: Creating a folder on the desktop (recap)
  • Index(es):
    • Date
    • Thread