Jason Linhart wrote:

> On 4/25/00 3:40 PM Tom Wiebe ([EMAIL PROTECTED]) wrote:
>
> >I've tried
> >
> >tell application "Analog 4.1"
> >     open file "pathto:myconfigfile.cfg"
> >end tell
> >
> >Which works great, but I don't seem to be able to loop through a list of
> >them, Analog just says it can't open the file.
>
> When you run Analog it can only process one file and then it needs to
> quit. To process multipule files you need to wait till the previous run
> of Analog completes. It's been a long time since I worked with
> AppleScript. There is some kind of IsRunning command that tells you if an
> application is currently running. You need to loop till Analog isn't
> running and then launch the next one.
>

Well, I don't know anything about AppleScript, but...

If AppleScript starts a new Analog process for each call (in a fork-like way),
you should be able to run several processes, each with separate config files
concurrently, provided that (a) none are dependent on previous runs (e.g.
CACHEOUTFILE, CACHEFILE) and (b) you don't try to DNS WRITE the same dns cache
from concurrent processes (this is the only file I know of that would be
locked).

Of course, I'm assuming that each Analog run outputs to a different output
file.


Jeremy Wadsack
Wadsack-Allen Digital Group

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to