Error Tracking

Hi,

I have a script that moves a whole bunch of data around our system (500MB), I’m using the ignore application responses to stop the script timing out… but I can’t trace any other errors, and I can’t use the try command or the script times out!!!

Anyone out there have similar issues or a fix???

:cry:

Can you increase your timeout, for example


try
with timeout of 600 seconds -- ten minutes
-- your code here
end timeout
end try

You could then give yourself way more time than you need and you can still use the try/on error/end try sequence to catch any other errors.

Kevin

Whenever I use timeouts they are ignored because the script is triggered via FileMaker Pro and no matter what I set the Finder reports an apple event timeout.

In that case it is probably FileMaker that is generating the error because it is having to wait too long, it might say finder is causing the problem but that might just be because FileMake is asking finder to run the script for it. What ever you do in the script that FileMaker triggers is not going to help you. I don’t know filemaker so I can’t help you properly but you might look to see if filemaker has options when triggering the script for setting the timeout or to return without waiting.