Sign in to follow this  
Followers 0
andrew01

Finding a specific line of text

5 posts in this topic

Hey,

I need to find a fucntion that will look for specific text in a box. Im not sure if it would be ControlGetText. I have looked into it, but it doesnt look like it does what I am looking for. I just want a function that searches for a specific line of text every once and a while and comes back with true or false (depending on whether it was found or not).

Thank you in advance for your help.

Share this post


Link to post
Share on other sites



Hmm, I will look into that. Thank you. I think maybe would I could do is use ControlGetText, copy it into notepad or something, then use the StringinStr.

For that string function though, it needs to search for a string withing a specific string, not a window...

Is that the only function that does something like that? Is there one that can search for a string inside of a window (not another string)?

Share this post


Link to post
Share on other sites

Copy to notepad ? Eehm, why ? Just use ControlGetText on the control and store the text

returned in a variable, which you then pass on to StringInStr. It's possible to get the milk

without sucking it directly from the cow you see.

Share this post


Link to post
Share on other sites

I see what you are saying! That seems like it will work, I will try it out now. Thanks for the help.

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