PoisonXrX 0 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 Share this post Link to post Share on other sites
scriptkitty 1 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. Share this post Link to post Share on other sites