Re: Simple Addition
Re: Simple Addition
- Subject: Re: Simple Addition
- From: "Adam K. Wuellner" <email@hidden>
- Date: Fri, 21 Jan 2005 14:25:38 -0600
On Jan 21, 2005, at 1:03 PM, email@hidden wrote:
Would someone assist me in alltering this script to include:
overwriting the duplicte if it already exists, disregarding creation dates:
Thanks
-----------------
on open (someItem)
tell application "Finder"
duplicate someItem to folder "Duplicate Folder" of disk "AppleScript
Drive"
append the above line with "with replacing"
duplicate: Duplicate one or more object(s)
duplicate reference -- the object(s) to duplicate
[to location reference] -- the new location for the object(s)
[replacing boolean] -- Specifies whether or not to replace items in the destination that have the same name as items being duplicated
[routing suppressed boolean] -- Specifies whether or not to autoroute items (default is false). Only applies when copying to the system folder.
Result: reference -- to the duplicated object(s)
end tell
beep 2
end open
--------------------------
HTH
Adam
_______________________________________________
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