Re: Re: Timeouts & FileMaker Scripts
Re: Re: Timeouts & FileMaker Scripts
- Subject: Re: Re: Timeouts & FileMaker Scripts
- From: Andi Elsasser <email@hidden>
- Date: Wed, 3 Nov 2004 13:10:35 -0500
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?
Thanks again!
-Andrea
>
> From: Graff <email@hidden>
> Date: 2004/11/03 Wed PM 12:58:43 EST
> To: AppleScript Users <email@hidden>
> Subject: Re: Timeouts & FileMaker Scripts
>
> Try doing the call in an "ignoring application responses" block. That
> should allow the AppleScript to continue executing after it tells
> FileMaker to open the file:
> ----
> ignoring application responses
> tell application "FileMaker Pro"
> open file "hd/directory/file" with password "BlahBlah"
> End tell
> end ignoring
> ----
>
> - Ken
>
> On Nov 3, 2004, at 12:15 PM, Andi Elsasser wrote:
>
> > My next question relates to "timeouts". I am using iDoScript scheduler
> > to call
> > AppleScripts (3 in total) from midnight until about 6:00am. Each
> > AppleScript
> > opens a *local* FileMaker file that performs an external script in the
> > multi-
> > user database being hosted via FileMaker Server. The FileMaker
> > Scripts, each
> > one a little different, basically loop through a set of records and
> > update
> > other records based on certain criteria.
> >
> > For the past few days, and intermittently, upon arriving at the office
> > there's
> > an AppleScript error message that says "No User Interaction Allowed". I
> > suspect that what's going on is that AppleScript 2 has been invoked by
> > iDoScript scheduler prior to AppleScript 1 being completed. However,
> > this
> > surprises me because each of the AppleScripts has a generous timeout
> > and the
> > previous should be completed long before the next is invoked.
>
> <snip>
>
> > My script is:
> >
> > Tell application "FileMaker Pro"
> > with timeout of 6300 seconds
> > open file "hd/directory/file" with password "BlahBlah"
> > end timeout
> > End tell
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
email@hidden
>
> This email sent to email@hidden
>
_______________________________________________
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