Re: Wait until window is open
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.