I’m having lots of problems getting even the simplest script to work.
This was an example taken from this board, I think.
I finally got it to run but only once. When I move the items back and run it again it gives this error.
error “Finder got an error: The operation can’t be completed.” number -8082
Could someone please enlighten me? I am a complete noobie but have been referring to three PDFs on applescripts and keep getting stumped.
tell application "Finder"
set a to folder "Macintosh HD:Users:Rob:Desktop:Scripts"
set b to folder "Macintosh HD:Users:Rob:Desktop:Scripts2"
move every file of a to b
end tell