• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Coordinating a sequence of events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coordinating a sequence of events


  • Subject: Coordinating a sequence of events
  • From: Nick Quinn <email@hidden>
  • Date: Mon, 02 Apr 2001 18:11:51 +1000

Hi,

I trying to set a series of things for an application to do. Each step is
not too bad, but it is a big "batch" process: downloading selected log files
with Timbuktu, archiving them with Stuffit, summarising with FileMaker and
lastly uploading with Timbuktu to another server which serves the results on
the web.

Each of the steps work, but they keep tripping over each other. So, I
thought BTBM and discovered deep in the depths of "5/5/99 Language Guide"
some stuff about being considerate. So I did the following around my
FileMaker script scheduling:

open file "hd:stats:acc cust"
try
considering application responses
with timeout of 120 seconds
do script "export cust"
end timeout
end considering
on error errorMessage
set ErrorsOccurred to true
end try

The event log tells me:

tell application "FileMaker Pro"
activate
activate
open file "hd:stats:acc cust"
do script "export cust"
open file "hd:stats:acc cust sum"
do script "export cust month"
open file "hd:stats:acc log ex"
--> FileMaker Pro got an error: AppleEvent timed out.

Am I misunderstanding the "considering application responses" hoping that it
should wait until the script completed before continuing and that the "with
Timeout" extended the default 1 minute?

[the "whereAmI" thread was for the remote server scripts. One for "rolling"
the log files and the other for looking for the new uploaded web feed and
making it available. Anyone interested, please contact me off list.]

Hf,


Nick Quinn
Sunshine Beach Software in OZ


References: 
 >Re: Re: CGIs with OSX (From: email@hidden)

  • Prev by Date: Re: CR and LF in AS 1.6
  • Next by Date: Re: Variable parameter lists and more! (was Re: wishlist: user-declared parameter labels without "given"
  • Previous by thread: Re: Re: CGIs with OSX
  • Next by thread: Re: CGIs with OSX
  • Index(es):
    • Date
    • Thread