Re: Timeouts & FileMaker Scripts
Re: Timeouts & FileMaker Scripts
- Subject: Re: Timeouts & FileMaker Scripts
- From: Axel Luttgens <email@hidden>
- Date: Thu, 04 Nov 2004 11:54:40 +0100
Andi Elsasser wrote:
Thanks, Ken. I'll try that.
One more question: Since there are 3 different scripts being invoked, is there
a way to error trap, in the AS that's giving the "no user interaction allowed"
message, so that I know which of the three AppleScripts following that message
is failing?
Ken already provided you with the "try ... on error ... end try" construct.
So, if you allow me to state the obvious...
If I understood correctly,
a. you have three scripts called nightly from an iDoScript scheduler
b. those scripts target FMP
c. the "no user interaction allowed" error doesn't occur systematically
Do you leave your user session opened every night?
- this is generally needed for "user interactions" to occur :-)
On the other hand, displaying a dialog from AppleScript is a user
interaction too.
So, you should perhaps write the diagnostics to a file instead of
raising a dialog for your error trapping.
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden