PoisonXrX Posted January 3, 2004 Share Posted January 3, 2004 (edited) is there a way to detect if minimized like if a window gets minimized by mistake because autoit clicked off of it is there a way to check if minimized without useing If WinActive("Prog") = 0 Then or i dunno. Edited January 3, 2004 by PoisonXrX Link to comment Share on other sites More sharing options...
scriptkitty Posted January 3, 2004 Share Posted January 3, 2004 You can check with WinGetPos() $size = WinGetPos("windowname") MsgBox(0, "Active window stats (x,y,width,height):", $size[0] & " " & $size[1] & " " & $size[2] & " " & $size[3]) if minimized, this will return -32000, -32000, 160, 24 One way to check. I would do an if winexists() first, or you may cause a array variable problem if no window exists. AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
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