Re: Hiding ScriptingAdditions.osax
Re: Hiding ScriptingAdditions.osax
- Subject: Re: Hiding ScriptingAdditions.osax
- From: John Stewart <email@hidden>
- Date: Tue, 8 Mar 2005 16:25:06 -0500
On 03/08/05 at -0800 Gil Dawson said this
>That's strange. I can't find mine, either. Using Macos 10.3.8, I looked in
>Startup Disk:Library:...
>and
>Startup Disk:Users:gil:Library:...
>
>....and in neither one did I find a ScriptingAdditions folder.
>
>I searched (Finder Command-F, Local disks, visible and invisible
>items, name contains...) for "StandardAdditions" and found nada.
>
>However, it *did* show up in Script Editor 2.0->Window->Library.
>
>Apparently it's hiding somewhere. Does anyone remember the magickal
>incantation to make it reveal its whereabouts?
Standard Additions.osax along with several others is an Apple installed osax and because of this they put it into the /System/Library/ScriptingAdditions folder.
User installed additions should be placed either in /Library/ScriptingAdditions or into ~/Library/ScriptingAdditions depending on who is to use them. Those in ~/Library/ScriptingAdditions are available only to the user in whose home folder they reside and those in /Library/ScriptingAdditions are available to all (local) users.
The "path to" command in the Standard Additions.osax can be pointed at any of these folders by using the "domain" parameter - syetem domain, local domain or user domain ETC. Default is user domain i.e.
path to scripting additions from local domain
Does not point to the same folder as -
path to scripting additions from user domain
So
set fp to path to scripting additions from system domain
tell application "Finder" to open fp
Should open that folder you can't seem to find :) Note: running these examples should create the folders if they don't exist.
JBS
--
The views expressed here do not necessarilly represent the unanimous view of all parts of my mind.
_______________________________________________
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