Re: Timeout when calling FileMaker Pro
Re: Timeout when calling FileMaker Pro
- Subject: Re: Timeout when calling FileMaker Pro
- From: "Gary (Lists)" <email@hidden>
- Date: Wed, 23 Mar 2005 07:20:15 -0500
mark manley wrote [3/21/05 1:38 PM]:
> All,
>
> Great list! I'm a newbie here.
>
> I run the following script and I'm getting an error (Timeout) on the
> SECOND "activate" command.
>
[clipped]
>
> tell application "FileMaker Pro 7"
> activate
> open file "Macintosh HD:Users:user1:Desktop:New
> system:TS101Creator.fp7"
> do script FileMaker script "Run Report"
> end tell
>
> tell application "FileMaker Pro 7"
> activate
> open file "Macintosh HD:Users:user1:Desktop:New
> system:TS103Creator.fp7"
> do script FileMaker script "vertToHoriz22"
> end tell
Mark,
I tested your scripts on two files. I was able to finally get a timeout
error when I made the target script (the 'do script' target) a _very_
time-consuming script. It took sorting and resorting the same file 20 times
before the second 'tell block' bogged out, however. I even was able to raise
a memory error and several dialogs and the second block still fired after
those were dismissed. I don't think the AS part of things if the problem.
The problem is perhaps more related to what your FM scripts are doing. Are
you doing something (a find, etc.) that is causing a dialog to be
rasied...one that you can not see? If you are preparing a report, that
suggests Find, Sort, Preview (Mode) (maybe that's your bog down...the
Preview mode dismiss button?) Also, if you are using AppleScript _inside_
your FM script, you have the potential for conflicts there as well,
especially if you are speaking to any FM menu items.
Also, if you don't about the FMPro list, you may find it even more relevant
to your combination of FM and AS. Not saying that you shouldn't ask here,
of course, but there are lots of AS-using FileMaker folks over there.
Best,
--
Gary
_______________________________________________
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