andrew01 Posted November 11, 2006 Share Posted November 11, 2006 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. Link to comment Share on other sites More sharing options...
FuryCell Posted November 11, 2006 Share Posted November 11, 2006 Take a look at StringInStr(). HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
andrew01 Posted November 11, 2006 Author Share Posted November 11, 2006 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)? Link to comment Share on other sites More sharing options...
Helge Posted November 11, 2006 Share Posted November 11, 2006 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. Link to comment Share on other sites More sharing options...
andrew01 Posted November 11, 2006 Author Share Posted November 11, 2006 I see what you are saying! That seems like it will work, I will try it out now. Thanks for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now