Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Marco
#1
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)