Re: copy files
Re: copy files
- Subject: Re: copy files
- From: Laine Lee <email@hidden>
- Date: Wed, 04 Jun 2008 10:46:46 -0500
- Thread-topic: copy files
Title: Re: copy files
Regarding <http://bbs.macscripter.net/viewtopic.php?pid=38240>, I noticed that "replacing ask" compiles in the Finder command, but doesn't appear to yield any useful results (10.5.3). Droplet to illustrate (drop a file on it, then do it again):
on open theFiles
tell application "Finder"
try
set storagefolder to make new folder at desktop with properties {name:"storagefolder"}
on error
set destpath to (((path to desktop) as Unicode text) & "storagefolder:")
set storagefolder to destpath as alias
end try
repeat with thefile in theFiles
duplicate thefile to storagefolder replacing ask
end repeat
end tell
end open
--
Laine Lee
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden