AppleScript Help
AppleScript Help
- Subject: AppleScript Help
- From: "Eric C Saunders" <email@hidden>
- Date: Thu, 3 Jun 2004 11:26:16 -0400
Mark,
The Finder dictionary has this entry:
Class special folders: The special folders used by the Mac OS
Properties:
system folder reference [r/o] -- the System folder
apple menu items folder reference [r/o] -- the special folder named
"Apple Menu Items," the contents of which
appear in the Apple menu
control panels folder reference [r/o] -- the special folder named
"Control Panels"
extensions folder reference [r/o] -- the special folder named
"Extensions"
fonts folder reference [r/o] -- the special folder named "Fonts"
preferences folder reference [r/o] -- the special folder named
"Preferences"
shutdown items folder reference [r/o] -- the special folder named
"Shutdown Items"
startup items folder reference [r/o] -- the special folder named
"Startup Items"
temporary items folder reference [r/o] -- the special folder named
"Temporary Items" (invisible)
so, I think you are looking for:
set FileToMove to -- path to the files that you want to move
tell application "Finder"
move file FileToMove to extensions folder
end tell
As this is a "Special Folder" you do not need to know the name of the HD
for the target.
Eric
>
Hi,
>
I'm a fairly new to apple script, and I was wondering if I can write an
>
apple script which will copy files over the extensions folder within
MacOS
>
9.x environment ???, as in MacOS-X I'm using a BSD script to do the
work.
>
Is that possible ???. One thing I did thik could be an issue is that I
>
might not know what the users HD is called for the path, is that an
issue
>
???.
>
I'm building up an installation package and this is why I need to copy
>
stuff into extensions folder.
>
Thanks in advance,
>
Mark.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service._______________________________________________________________
This electronic message contains information from MeadWestvaco
Corporation or subsidiary companies, which may be confidential,
privileged or otherwise protected from disclosure. The
information is intended to be used solely by the recipient(s)
named. If you are not an intended recipient, be aware that
any review, disclosure, copying, distribution or use of this
transmission or its contents is prohibited. If you have
received this transmission in error, please notify MeadWestvaco
immediately at email@hidden.
_______________________________________________________________________
_______________________________________________
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.