Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nicolem

macrumors newbie
Original poster
Oct 26, 2007
3
0
Hi all,

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

Code:
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
 
Nevermind. It wasn't working for some reason, but I left it for a while, then tried again and it works.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.