Jump to content

is there a way to detect if minimized

Recommended Posts

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 post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...