dassksnz Posted December 19, 2010 Share Posted December 19, 2010 How do u maximize a window without using mouseclick?? Link to comment Share on other sites More sharing options...
Newb Posted December 19, 2010 Share Posted December 19, 2010 (edited) How do u maximize a window without using mouseclick?? WinSetState ( "title", "text", flag ) For Example WinSetState("[CLASS:Notepad]", "", @SW_MAXIMIZE) Will maximize notepad if it is open. To get the handle of the window you have to control use Au3Info program or WinGetHandle. Edited December 19, 2010 by Newb I'm a compulsive poster. When I post something, come to read it at least 5 minutes later after the posting, because I will edit it. I edited even this signature a few minutes later after I wrote it. Link to comment Share on other sites More sharing options...
DCCD Posted December 19, 2010 Share Posted December 19, 2010 How do u maximize a window without using mouseclick?? #1 WinSetState() Function #2 @SW_MAXIMIZE Macro @SW_HIDE = ;Hide window @SW_SHOW = ;Shows a previously hidden window @SW_MINIMIZE = ;Minimize window @SW_MAXIMIZE = ;Maximize window @SW_RESTORE = ;Undoes a window minimization or maximization @SW_DISABLE = ;Disables the window @SW_ENABLE = ;Enables the window WinSetState("Untitled - Notepad", "", @SW_MAXIMIZE) ; Best Regards [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group 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