groovel 0 Posted April 8, 2004 If WinWaitActive("'s Page", "Done") Then $rand = 0 $rand = Int(Random(2, 5)) Send("^f") Sleep(500) Send("blah") Sleep(500) Send("{ENTER 5}") Sleep(500) Send("{ESC 2}") Sleep(500) Send("{TAB " & $rand & "}") Sleep(500) Send("{ENTER}") Else WinKill("Microsoft Interent Explorer", "") Run('C:\Program Files\Internet Explorer\IEXPLORE.EXE') EndIf It never seems to make it to the Else, why not? Share this post Link to post Share on other sites