• 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
Re: Wait until window is open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wait until window is open


  • Subject: Re: Wait until window is open
  • From: Dean Ritchie <email@hidden>
  • Date: Thu, 20 May 2004 16:18:51 -0700

On May 20, 2004, at 2:49 PM, Thierry Lavallie wrote:

Hi,
My script fails if the opening of the window takes too long (open
OriginalPath).

How can I manage for AS to wait until each steps are finished before doing
the next?

Can anyone help?

Thanks!
--
Thierry
PS: OS9


I'm running OS10, but it should work the same. I use a form like:

set GotitThrough to false -- may get here too early; changing window
repeat until GotitThrough --needs to "settle down"
try
tell ...

end tell
set GotItThrough to true
on error
delay 1
end try
end repeat

Hope that helps

Dean
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Wait until window is open (From: Thierry Lavallée <email@hidden>)

  • Prev by Date: Re: Wait until window is open
  • Next by Date: Re: applescript URL protocol
  • Previous by thread: Re: Wait until window is open
  • Next by thread: Re: Wait until window is open
  • Index(es):
    • Date
    • Thread