Sign in to follow this  
Followers 0
ahh

How to detect different windows

2 posts in this topic

I'm totally new to this kinda programming, and need to do this quite fast so sry if this post is similar with someone else, couldn't find any in my haste..

I'm gonna make a small and short script to install a few programs. First obsticle I met is when the installation program acts different according to if the program allready is installed. I used ScriptWriter to make it quick, and have recorded for both the different installasjon that pop up. Is there any way I can detect what window it gets and act according to it? Answer to this offcourse is yes but how :"> ? In the two different recordings both window names seems to be equal is there any other way I can tell the difference, any uniqe ID on the different windows that I can get from it?

Tnx in advance

Share this post


Link to post
Share on other sites



Try using the WinExists command. It needs the Title of the window and you can further discriminate windows with the same names by checking if there is different text in the window.

You can use the Au3Info.exe program in your AutoIt install directory to see information on windows.


Be open minded but not gullible.A hammer sees everything as a nail ... so don't be A tool ... be many tools.

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