Is there a way to make the following all fire at once and not one by one? Basically I want it so that the copy window has multipe progress indicators. Since there are 5 folders, I would like 1 indicator for each folder. Is this possible?
duplicate srcdoc to bckpdest with replacing
duplicate srcaddr to bckpdest with replacing
duplicate srcmail to bckpdest with replacing
duplicate srcical to bckpdest with replacing
duplicate srcscript to bckpdest with replacing
EDIT:
I tried the following but it is very slow, the hard disk overworks, and there is only 1 indicator for the whole thing.
set srclist to {"Maggie:Users:PaulAvery:Documents", "Maggie:Users:PaulAvery:Library:Application Support:AddressBook", "Maggie:Users:PaulAvery:Library:Mail", "Maggie:Users:PaulAvery:Library:Application Support:iCal", "Maggie:Users:PaulAvery:Library:Scripts"}
duplicate srclist to bckpdest with replacing
It is fastest to copy multiple files from the same disk one after the other. If you try to copy more than one thing simultaneously the hard drive wastes time continuously moving back and forth grabbing little bits of each file, like you described. I would use a repeat loop to accomplish your task. This will give you a progress indicator for each thing being copied, but they will appear one after the other.
WF
This seemed to work.
The delays are needed. When I did not use them It only worked on and of without an error from finder.
Also this is not saying this is the best way of doing things, because its not IMHO, but it gets you the multi copy
dialogue
tell application "Finder"
set srcdoc to "Macintosh HD:Users:UserName:Documents:Burn_disk_36006018.fpbf"
set srcaddr to "Macintosh HD:Users:UserName:Movies"
set srcmail to "Macintosh HD:Users:UserName:Mail Search"
set bckpdest to "Macintosh HD:Users:UserName:Desktop:dup test"
ignoring application responses
duplicate srcdoc to bckpdest with replacing
end ignoring
delay 1
ignoring application responses
duplicate srcaddr to bckpdest with replacing
end ignoring
delay 1
ignoring application responses
duplicate srcmail to bckpdest with replacing
end ignoring
end tell
Okay, here is what I got and it works beautifully. Thanks for all the help everyone!
set srclistnum to count srclist
set i to 1
repeat until i is greater than srclistnum
ignoring application responses
duplicate item i of srclist to bckpdest with replacing
end ignoring
set i to i + 1
end repeat