Problems with Script Step "Save as Copy" to Dropbox
I want to add a simple startup script that saves a copy of my file to a Dropbox folder. I have two steps in my script:
Set Variable and Save a Copy As...
Set Variable: $file
Let ( [
$docPath = Get ( DocumentsPath ) ;
$dropPath= Substitute ( $docPath ; "Documents" ; "Dropbox" ) & "BulldogInventory/Backups/";
$name =timeStampHorne & "_" & Get ( FileName ) & ".fmp12"
//timeStampHorne is a custom function that sets my date formatted 2015-02-19
$dropPath & $name
Save a Copy As ["$file";copy]
Everything looks good in the debugger until it tries to save and I get an error saying I don't have permission to save... Error 800
The script works fine trying to save to my Desktop, just not Dropbox and I'm wondering why.
Can someone inform me?