Forum Discussion
irina_lukina
15 years agoSuper Contributor
Hi Ofer,
Hm...I would modify the script in the following way:
var appField = Sys["Window"]("Win_Name")["Field_Name"];
var i = 0; // The variable that controls the time
if (i < 20)
while (appField == true)
{
Delay(100);
i++;
}
The code above will check the value of the property only 20 times with a 100-millisecond delay, that is, 20*0.1=2 seconds.
I hope this helps :)