Repeat until this is true or that is true
I have a work around using this method but just wondered if there was anything that was actually designed for this operation or a more elegant work around.
set cocount to 0
set theKeyPressed1 to ""
repeat until theKeyPressed1 is not ""
set theKeyPressed1 to (keys pressed) as string
set cocount to cocount + 1
if cocount is equal to 40000 then
return
else
end if
end repeat
iMac G5 17 1.8ghz 1GB RAM AX, Mac OS X (10.4.7)