Re: Adding stuff to OS 9 extensions folder (was: AppleScript Help)
Re: Adding stuff to OS 9 extensions folder (was: AppleScript Help)
- Subject: Re: Adding stuff to OS 9 extensions folder (was: AppleScript Help)
- From: Graff <email@hidden>
- Date: Thu, 03 Jun 2004 19:51:54 -0400
On Jun 3, 2004, at 6:49 PM, Walter Ian Kaye wrote:
At 03:22p -0700 06/03/2004, John Baltutis didst inscribe upon an
electronic papyrus:
On 06/03/04, "Eric C Saunders" <email@hidden> wrote:
> The Finder dictionary has this entry:
<snip>
> extensions folder reference [r/o] -- the special folder named
>"Extensions"
<snip>
Getting the path is straightforward (see the post by Graff
<email@hidden> for more options). However, will this really work,
since all of these folders are read only?
The folder is not read only. That [r/o] refers to a property, not a
folder.
But that doesn't exist at all on Jaguar.
Even if the second thing I posted doesn't work, the first thing I
posted might work under Jaguar:
----
tell application "Finder"
move theFile to (path to extensions folder)
end tell
----
And if that doesn't work then do it the hard way:
----
tell application "Finder"
move theFile to folder ((startup disk as string) & "System
Folder:Extensions:")
end tell
----
- Ken
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.