Jump to content

Recommended Posts

Posted

Hello together,

is there a possibility to check whether the active window is maximazed or not?

Somethink like

If NOT ActiveWindowMaximazed Then

MaximazeActiveWindow

Else

;code.....

Thanks

Posted

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]

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
×
×
  • Create New...