Randy Posted February 4, 2007 Share Posted February 4, 2007 I believe the function I need to use it WinSetState but I can't figure out how to maximize one of many windows inside a single program (e.g. Word, paint, etc.) which have been cascaded or tiled. I can only maximize the "parent" window. Does anyone know how to maximize one window whose title shows up in the "Visible Window text" area in the Autoit window info page? Link to comment Share on other sites More sharing options...
Shevilie Posted February 4, 2007 Share Posted February 4, 2007 Hmmm this does works nearly in an Excel document - Though I dont think its pretty $item = ControlGetHandle("Microsoft Excel", "", "EXCEL71") WinSetState( $item, "", @SW_MAXIMIZE) Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Randy Posted February 4, 2007 Author Share Posted February 4, 2007 Hmmm this does works nearly in an Excel document - Though I dont think its pretty $item = ControlGetHandle("Microsoft Excel", "", "EXCEL71")WinSetState( $item, "", @SW_MAXIMIZE)Yes thanks this does work and it's probably the most simple I can think of to do this. I guess I couldn't see how to give control to a specific window out many windows in an application, like Excel. This is great and helps me out a lot.Thanks again. 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