Jump to content

Recommended Posts

Posted

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?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...