Jump to content

Recommended Posts

Posted

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?

Posted

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

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...