dwhiting Posted August 24, 2007 Posted August 24, 2007 I am trying to use winwait to pause a task until a balloon tip pops up. I have used the following line to wait for the XP balloon tip that occurs when a network cable is unplugged. However, when I unplug my network cable and the balloon pops up it is not detected by the script as it does not proceed to the next line. I have no problem using winwait with regular windows but it just does not seem to work with a balloon tip. Any help would be greatly appreciated. winwait ("A network")
qazwsx Posted August 24, 2007 Posted August 24, 2007 you could try other identification methods that the title such as class to see if that works.
dwhiting Posted August 24, 2007 Author Posted August 24, 2007 I've tried that as well but still no detection.
dwhiting Posted August 24, 2007 Author Posted August 24, 2007 WinWait("[TITLE:A Network Cable; CLASS:tooltips_class32]") MsgBox(4096, "LAN", "LAN disconnected")
qazwsx Posted August 25, 2007 Posted August 25, 2007 (edited) pixel color could give many false positives. look up title match options in the help file. You don't have the right options for your code. Edited August 25, 2007 by sccrstvn93
dwhiting Posted August 26, 2007 Author Posted August 26, 2007 when i use winexists with the same options and the balloon tip is open the program does see the window and continues. It just wont detect when it first opens.
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