12-05-2004, 08:16 PM
I need some help.
I cannot figure out what is wrong with the following script i wrote. The script should exit the loop after the first time. Why won't the if statement execute the break?
function# ~url [^waits] [hwnd] [str*urlout] [int*hwndout]
rep 10
wait 1
IeNavigate("http://www.google.com" 0 0 &str'result)
if(urlout) urlout="http://www.google.com"
break;
Thank you for any help.
I cannot figure out what is wrong with the following script i wrote. The script should exit the loop after the first time. Why won't the if statement execute the break?
function# ~url [^waits] [hwnd] [str*urlout] [int*hwndout]
rep 10
wait 1
IeNavigate("http://www.google.com" 0 0 &str'result)
if(urlout) urlout="http://www.google.com"
break;
Thank you for any help.