PDA

View Full Version : "replacing" command clarification




nicolem
Oct 26, 2007, 04:01 PM
Hi all,

Think I have a simple question, but I'm not sure.

on adding folder items to this_folder after receiving added_items
tell application "Finder"
duplicate added_items to folder " Proofs" of disk "Advertising" with replacing
end tell
end adding folder items to

"with replacing" is not replacing the file if it already exists. So if the file already exists, the script just quits. I need it to replace existing files without asking.

Suggestions?

Thanks!
Nicole



nicolem
Oct 26, 2007, 04:50 PM
Nevermind. It wasn't working for some reason, but I left it for a while, then tried again and it works.