eagle51 Posted January 11, 2007 Share Posted January 11, 2007 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 Link to comment Share on other sites More sharing options...
Danny35d Posted January 11, 2007 Share Posted January 11, 2007 Check the help file, you can use WinGetState AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
NeoFoX Posted January 11, 2007 Share Posted January 11, 2007 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 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