foolove Posted December 14, 2011 Share Posted December 14, 2011 I am coming from the perl world but want to try to do something that will monitor for a text string on the screen continually if the text string is met then left click on the text string and then do other things thanks to all who reply Link to comment Share on other sites More sharing options...
Bert Posted December 14, 2011 Share Posted December 14, 2011 use WinGetText The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
foolove Posted December 14, 2011 Author Share Posted December 14, 2011 for the if statement I am trying to click on the text then do other stuff within the program window $text = WinGetText("[CLASS:SunAwtFrame]", "") If $text = "example text" Then MouseClick ("Left") 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