I have a small script triggered via Filemaker pro 6 that basicall tells the finder (with a ridiculous timeout set) to copy files from one server to another.
The problem is no matter what I do the script times out with an AppleEvent after 2 minutes, What can I do?
HELP!!!
with timeout 3600 seconds
tell application āFinderā
set dest to folder āTestā of home
duplicate every file of disk āTestDiskā to dest
end tell
end timeout
Maybe this will work. Iām not familiar enough with āignoringā to know if it needs to be within or outside of the tell block in this case, so here are two examples to try.
ignoring application responses
tell application "Finder"
set dest to folder "Test" of home
duplicate every file of disk "TestDisk" to dest
end tell
end ignoring
tell application "Finder"
set dest to folder "Test" of home
ignoring application responses
duplicate every file of disk "TestDisk" to dest
end ignoring
end tell
Martin, I tested the FMP file that you sent and I see what you mean. I donāt know how to overcome the issue.
On a somewhat related note, and with no reflection on you, I was apprehensive about opening the FMP file. It would be very easy to embed a destructive AppleScript script in a FMP database and set it to execute when the database is opened. I guess the old rule applies that one should only open files from trusted sources.