Re: Installing Scripting Additions on OS X
Re: Installing Scripting Additions on OS X
- Subject: Re: Installing Scripting Additions on OS X
- From: Christopher Nebel <email@hidden>
- Date: Thu, 8 Nov 2001 16:14:29 -0800
On Thursday, November 8, 2001, at 12:51 PM, garbanzito wrote:
/System/Library/ScriptingAdditions
the system-installed stuff. You shouldn't mess with this one.
and note that this is the one returned by
path to scripting additions folder
making that construct close to useless.
i think there should be something like this:
path to user's scripting additions folder
path to machine's scripting additions folder
path to system's scripting additions folder
path to network's scripting additions folder
(this could extend to the other standard folders too.)
Already done. Look at the dictionary -- there's a "from" parameter for
"path to" which lets you specify a domain, which is one of user, local
(aka machine), network, or system. If you leave it off, the system will
decide which domain is appropriate. (The default domain varies from
selector to selector -- for instance, "path to preferences folder" gets
you the user preferences folder, not the system one.)
--Chris Nebel
AppleScript Engineering