caesar4444 Posted June 28, 2007 Posted June 28, 2007 Hi Guys, I've been writing a very simple script to automate a windows driver install. I'm looking for a funtion that will exit the script if a window contains some text. Something like : if window_title=unwanted then exit I've searched the forums but cant find the function. Can anyone help ?
Jettison Posted June 28, 2007 Posted June 28, 2007 (edited) Have you looked at the docs? Try If WinExists("Some unwanted title") Then Exit Edited June 28, 2007 by Jettison [font="Impact"]Cats rule, humans drool.[/font]
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