Sign in to follow this  
Followers 0
marcdr

Detecting Window Title change

4 posts in this topic

This is probably a really easy one to solve but i've been looking at it for so long I can't see the solution.

OK I have a script that runs a query and then saves the output to excel it all works apart from one bit. The window that the query is run from has a title along the lines of "Reject Movement Report" and the window with the output I want to wait for has a title like "Reject Movement Report 3000 Records Selected".

I cant match exactly the second title as the number changes every time the script is run and I cant match on the first few words as they are the same for both windows. The time it takes for the results to come back from the query varies alot so I cant pause the script.

Any help would be great, thanks in advance

Marc

Share this post


Link to post
Share on other sites



Lookup WinTitleMatchMode in the help file. Using this you can wait for "Records Selected"



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

Thanks for the replies.

Managed to get it working with your help.

Marc

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