Hi,
I’m new to applescript and this forum. I’m trying to make a droplet script that will allow me to drop a folder named “TO BE ARCHIVED” and the various named subfolders be backed up to another volume or server into folders with corresponding names. I.E. a folder with the name “GAMES” in it will go into the archive volume’s subfolder named “GAMES PAGE.” I hope this description makes sense. Here is what I have so far, and it’s not working. The prompt I get is “cannot get GAMES PAGE on volume. I’m working on OSX on a “cougar.” Apple Script 2.1.1. I appreciate any help. Thanks in advance.
jgerb
property localVolume: {“volume”}
property theServer: {“afp://user:password@myServer/sVol”}
on open theseFiles
repeat with i in localVolume
tell application “Finder”
tell folder “TO BE ARCHIVED” of home
move (every folder whose name contains “GAMES”) to the folder named “GAMES PAGE” in localVolume with replacing
end tell
end tell
end repeat
repeat with i from 1 to count theServers
end repeat
end open