Waiting for a process to finish...
Waiting for a process to finish...
- Subject: Waiting for a process to finish...
- From: Landis <email@hidden>
- Date: Tue, 20 Nov 2001 15:10:26 -0800
I'm trying to script a program whose scripting implementation wasn't
quite finished. I've found that Akua Sweets will let me select an
item from a menu and that way I can start to do what I want. The
problem is the script won't wait until the process is finished before
it goes on. Anyone know how?
tell application "QTVR Authoring Studio 1.0.1"
activate
open PanoName
--using Akua Sweets
puppet menu {"Panorama", "Stitch Panorama"}
quit --This tries to execute immediately, causing an unexpected quit
end tell
Stitching a panorama can take anywhere from 10 seconds to 45 minutes
so I don't want to tell the script to wait for 45 minutes after the
"Stitch Panorama" command. Is there a way to find out when the
program has turned over control to the user again? Maybe tell when a
menu is no longer grayed out?
Thanks,
Landis