Re: how to copy a file
Re: how to copy a file
- Subject: Re: how to copy a file
- From: "Adam K. Wuellner" <email@hidden>
- Date: Fri, 21 Jan 2005 13:13:05 -0600
On Jan 21, 2005, at 11:54 AM, Graham Anderson wrote:
I want to copy a file [myPref.xml] from a folder downloaded to the
user's desktop to the user's preference file.
This might help get you started:
-- begin script
set destination_folder to path to preferences from user domain
set desktop_folder to path to desktop from user domain
tell application "Finder"
duplicate file "myPref.xml" of folder "folder-name" of desktop_folder
to destination_folder
end tell
-- end script
Use the appropriate value for folder-name.
_______________________________________________
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