On May 12, 2009, at 11:21 PM, Fenton Jones wrote:

You're only using FileMaker to tell AppleScript the path, and you're only using AppleScript to move the files to another folder.

Alternatively, if you need separate copies, you could use the "copy" command, instead of move. But that would take (much) longer.

Experiment first, on a few. Do not run the Loop on 3500 records until you test, unless you want to click on a dialog 3500 times if it goes wrong. Don't ask how I know :-]

Both "move" and "copy" will error if the file already exists in the destination; nor do you want to use the "with replacing" clause. I'm assuming these are 2 "flat" folders, so file names would be unique.

You can enclose a Perform AppleScript step with Set Error Capture ["On"], like any other FileMaker step, to suppress errors.


Fenton Jones
FileMaker Development
1728 Meade Ave
San Diego, CA 92116
619-692-1529
http://fentonjones.com

Reply via email to