Jump to content

Check if a window is maximazed


eagle51
 Share

Recommended Posts

run("notepad.exe")
sleep(2000)
if WinGetState("Untitled -","") <> @SW_MAXIMIZE Then
    WinSetState("Untitled -","",@SW_MAXIMIZE)
    MsgBox(1,"Maximized","Now the window is Maximized")
Else
    MsgBox(1,"Maximized","Window is allready maximized")
EndIf

Simple.. easy.. out of helpfile :)

Neo

[center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...