
Thx
Code:
property destination : "Dance" as alias -- the folder to copy to
property nameList : {"blabla", "dudada", "gsasy"}
on run -- application double-clicked or script run from the Editor
open (choose file with multiple selections allowed)
end run
on open theseItems -- items dropped onto the application
"replacing:true"
repeat with anItem in theseItems -- go through all the dropped items
repeat with aName in nameList -- go through all the names
tell application "Finder" -- make a copy and rename
set name of (((duplicate anItem to destination) to aName) with replacing)
end tell
"replacing:true"
end repeat
end repeat
end open
Last edited: