Sign in to follow this  
Followers 0
kzar

Help with installerscript

4 posts in this topic

Hi I am trying to automate an installer using an autoit script. The problem I am having is the installer opens two windows both with the same title. The first window is just to fill the screen and the other one contains the buttons I need to press. What would be a good reliable way to rename / handle the full-screen window so that it doesn't interfear? (I know to use WinSetTitle to change the name but I don't know a reliable way to switch to the right window and then switch back)

Thanks, David

Share this post


Link to post
Share on other sites



Compare the window sizes. The full screen one is always going to be bigger than the one you want to automate.

Get a handle to the smaller one and there you go.


[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Share this post


Link to post
Share on other sites

Don't just match on window title,

Window text is a parameter on just about any of the Win... and Control... functions.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0