autoitquestion Posted April 26, 2011 Share Posted April 26, 2011 (edited) Hi, I have external GUI which after I click on button related for this GUI, I need return GUI to normal view (means, this gui have 3 statues views-normal, maximaized, minimaized) How can I do it? thanks a lot! Edited April 26, 2011 by autoitquestion Link to comment Share on other sites More sharing options...
wakillon Posted April 26, 2011 Share Posted April 26, 2011 Try WinsetState ( '', '', @SW_RESTORE ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
autoitquestion Posted April 26, 2011 Author Share Posted April 26, 2011 Thx a lot! Now, it return to normal, BUT I also wish it will be maximaized and then I did: Sleep(100) WinsetState ( '', '', @SW_MAXIMIZE ) I also try do: WinsetState ( '', '', @SW_MAXIMIZE ) WinActivate("[CLASS:WindowsForms10.window.8.app.0.378734a]", "") But, it did not help... Any other suggestion? Link to comment Share on other sites More sharing options...
wakillon Posted April 26, 2011 Share Posted April 26, 2011 WinsetState need title and text ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 26, 2011 Share Posted April 26, 2011 WinsetState need title and text !Actually, text is optional. even though it's not explicitly stated in the Help file, it is shown in the example code. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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