Re: how to copy a file
Re: how to copy a file
- Subject: Re: how to copy a file
- From: Graham Anderson <email@hidden>
- Date: Fri, 21 Jan 2005 15:30:46 -0800
many thanks :) that did it
g
On Jan 21, 2005, at 11:13 AM, Adam K. Wuellner wrote:
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