johna007 Posted February 22, 2007 Posted February 22, 2007 How can i run a function, if there is error in that funtion to just bring up a my own message box. And not close the program ?. johna007
SadBunny Posted February 22, 2007 Posted February 22, 2007 Search help for "RunErrorsFatal". That is what you need. Roses are FF0000, violets are 0000FF... All my base are belong to you.
pjotterke Posted February 22, 2007 Posted February 22, 2007 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
SadBunny Posted February 22, 2007 Posted February 22, 2007 I explain....This first command is that it have to open some files with the progres bar...if thats done it waits 1 secondit 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 upDon'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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now