t0ddie Posted January 18, 2005 Posted January 18, 2005 for some reason, i cant figure this out opt ("wintitlematchmode",2) if not winexists("title") or if not winexists("title2") then eat a cookie endif see??? im trying to detect 2 windows.. if NONE exist.. then do something whats the best way to do this. my syntax is in error Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
therks Posted January 18, 2005 Posted January 18, 2005 Also change OR to AND. If Not WinExists('title') And Not WinExists('title2') Then ; eat a cookie EndIf Think about it logically. Or: I want to eat a cookie if this window or that window doesn't exist. And: I want to eat a cookie if this window and that window don't exist. My AutoIt Stuff | My Github
t0ddie Posted January 18, 2005 Author Posted January 18, 2005 mmmm cookies mmmmmmm code mmmmmmmmmmm beer thanks Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like 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