Auto-backup script error: "...could not be created on this disk."
I followed the "Example backup script" in the local Help files, but keep getting the following error when it runs:
"FM Receipts Copy.fmp12" could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk.
I'm stumped, since (a) the script includes a step that adds the word "Copy" to the file name; (b) there's far, far, far more space on the disk than necessary; and (c) nothing is locked (that I can find).
Here's my script:
Set Field [ Receipts::Count Field ; Receipts::Count Field + 1 ]
If [ Receipts::Count Field > 4 ]
Save a Copy as [ “FM Receipts AutoBackup.fmp12” ; copy ]
Set Field [ Receipts::Count Field ; 0 ]
After that, I went to Files > File Options > Script Triggers. Clicked the OnLastWindowClose script trigger, then clicked Select, and selected my backup script. Clicked OK.
The file is trying to backup every fifth close---as someone brand new to scripting (read: VERY new to this), it seems:
a. The script isn't renaming the copy as directed, and....
b. There should either be a step asking where I'd like to save the backup, or one that pre-determines where the backup goes...shouldn't there be? Or would that come naturally, after FM creates the copy?
Your more experienced wisdom is deeply appreciated.