• 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
Waiting for a process to finish...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: ANNOUNCE: XML Tools 2.3.2
  • Next by Date: Re: Open Filemaker Pro
  • Previous by thread: RE: My last popup item....
  • Next by thread: Re: Waiting for a process to finish...
  • Index(es):
    • Date
    • Thread