Jump to content

Error control


johna007
 Share

Recommended Posts

i have made i script for it...

While Send ("!M")
                                            Sleep (500)
     send ("{ENTER}")
                                                Sleep (500)
      Send ("{ENTER}")
    sleep (1000)

If WinActive ("Session Error", "Unrecognised panel received unexpectedly during logon" ) Then
    Sleep (1000)
    Send ("{enter}")
    sleep (200)
    Send ("{enter}")
    sleep (200)
    Send ("{enter}")
    sleep (200)
    Send ("{F3}")
    Sleep (200)
    Send ("{F3}")
    
    sleep (1000)
    
                else 
                    ExitLoop

   EndIf    



WEnd

I explain....

This first command is that it have to open some files with the progres bar...

if thats done it waits 1 second

it looks for the specified window (the error)

if there is now error it go's on if there is an error it wil loop until the error don't come up

Link to comment
Share on other sites

I explain....

This first command is that it have to open some files with the progres bar...

if thats done it waits 1 second

it looks for the specified window (the error)

if there is now error it go's on if there is an error it wil loop until the error don't come up

Don't follow you... What goes wrong? Please put more structure in both your code and your comments...

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...