Sign in to follow this  
Followers 0
foolove

monitoring for text on a screen

3 posts in this topic

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

Share this post


Link to post
Share on other sites



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")

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