I've checked the previous answers to similar questions in Stackoverflow and there seems to be a problem even with the most basic sentence that uses the move function. In my case, I'm using the following script.
set theFile to "Macintosh HD/Users/sergioguerra1/Downloads/Reporte General.csv"
set theFolder to "Macintosh HD/Users/sergioguerra1/Desktop/Detektor/Etapa II/"
tell application "Finder"
move file theFile to folder theFolder with replacing
end tell
And I got the following error:
"error "Finder got an error: Can’t get file \"Macintosh HD/Users/sergioguerra1/Downloads/Reporte General.csv\"." number -1728 from file "Macintosh HD/Users/sergioguerra1/Downloads/Reporte General.csv""
I changed the script a little bit
tell application "Finder"
move theFile to theFolder with replacing
end tell
And I got a different error
"error "Finder got an error: AppleEvent handler failed." number -10000"
This is a very simple code, but isn't working. Can anyone find the error? Is it something with Mavericks?