I have written the following script. I get no errors when I test it, yet nothing happens when I run it
I have tried a couple other things in place of duplicate (copy, move), yet no matter what, after running the script I do not find the file in the target folder, "nupdftest"
Edit: the error I get back is "error number -1728 from file "/Users/alexk/synctest/Untitled3.rtf"
I'm googling around to find out what that means in this context but not having a lot of luck. That path is absolutely correct, I double and triple checked.
Any ideas what is going wrong here?
Apologies in advance for what is probably a dumb question.. but I've googled around and can't figure out what's bad about my script.
PS in case you are wondering why I've made such a pointless script, it's just part of process of figuring out why a different script wasn't working, I just simplified it to eliminate sources of error.
Code:
try
tell application "Finder"
move file "/Users/alexk/synctest/Untitled3.rtf" to folder "/Users/alexk/Dropbox/nupdftest"
end tell
end try
I have tried a couple other things in place of duplicate (copy, move), yet no matter what, after running the script I do not find the file in the target folder, "nupdftest"
Edit: the error I get back is "error number -1728 from file "/Users/alexk/synctest/Untitled3.rtf"
I'm googling around to find out what that means in this context but not having a lot of luck. That path is absolutely correct, I double and triple checked.
Any ideas what is going wrong here?
Apologies in advance for what is probably a dumb question.. but I've googled around and can't figure out what's bad about my script.
PS in case you are wondering why I've made such a pointless script, it's just part of process of figuring out why a different script wasn't working, I just simplified it to eliminate sources of error.
Last edited: