Re: Timeout when calling FileMaker Pro
Re: Timeout when calling FileMaker Pro
- Subject: Re: Timeout when calling FileMaker Pro
- From: Malcolm Fitzgerald <email@hidden>
- Date: Thu, 24 Mar 2005 09:55:32 +1100
On 23/03/2005, at 11:20 PM, Gary (Lists) wrote:
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
Filemaker Corp knows all about this problem. They describe in the Apple
Events Reference that they distribute with every copy of FMP. Take a
look at it. It's full of details that'll help you script FMP. They have
a number of suggestions for this situation. Look in "Do Script" section
for a full description. One of them is to keep sending an apple event
until you get a response, eg.
on waitAWhile()
repeat
try
tell app "filemaker pro" to get version
return true
end
end
end
Malcolm Fitzgerald ph: 02 93180877
Database Manager fax: 02 93180530
The Australian Society of Authors www.asauthors.org
_______________________________________________
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