Sign in to follow this  
Followers 0
SpecialK

Do i need the whole text for WinWaitActive?

3 posts in this topic

#1 ·  Posted (edited)

First: Thank you for the great software.

I have a question related to these syntax:

WinWaitActive ( "Titel", ["Text"], [Timeout] )

I have to handle some Windows with the same titel. So i think i have to use the text as additional indicator.

But the Autoit Window Info shows the whole EULA as the text of my windows. Do i have to copy the whole EULA into the syntax? I don't think that this is the right way.

So i'm looking for a possibility to use only a small part of the shown text to identify the right window.

I hope someone can help me.

And sorry for my bad english...

SpecialK

Edited by SpecialK

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Welcome,

"I am a line of title or text characters"

As above, from the left character to any point of a line (e.g. like in bold) is what you can add into a parameter as needed by WinWaitActive and similar Win* functions. You do not need to add the whole line unless you use the Opt() for exact match for just the title.

:D

Edited by MHz

Share this post


Link to post
Share on other sites

Great! Thank you for the quick answere. I will test ist tomorrow at work.

SpecialK

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