Comments on: For Loops in AppleScript: Repeat http://foolsworkshop.com/applescript/2008/05/for-loops-in-applescript-repeat/ AppleScript Studio blog with tips, scripts, and tutorials Fri, 08 Feb 2013 10:36:25 +0000 hourly 1 https://wordpress.org/?v=4.5.3 By: lindenthal http://foolsworkshop.com/applescript/2008/05/for-loops-in-applescript-repeat/comment-page-1/#comment-72 Fri, 08 Feb 2013 10:36:25 +0000 http://foolsworkshop.com/applescript/2008/05/for-loops-in-applescript-repeat/#comment-72 excellent list

I had a look for something like this:

repeat until exists sheet 1 of window 1 but no more than 20 times

like this:
repeat 20 times
delay 0.1
if exists sheet 1 of window 1 then
exit repeat
end if
end repeat

]]>
By: Alex http://foolsworkshop.com/applescript/2008/05/for-loops-in-applescript-repeat/comment-page-1/#comment-66 Wed, 25 May 2011 07:29:16 +0000 http://foolsworkshop.com/applescript/2008/05/for-loops-in-applescript-repeat/#comment-66 There’s also the “repeat with «item» in «list»” form.

]]>
By: PeterVk http://foolsworkshop.com/applescript/2008/05/for-loops-in-applescript-repeat/comment-page-1/#comment-22 Sun, 22 Jun 2008 02:03:46 +0000 http://foolsworkshop.com/applescript/2008/05/for-loops-in-applescript-repeat/#comment-22 Simple, clean advice. Thanks.

Really nice site, mate!

]]>