Jump to content

Recommended Posts

Posted

Hi guys. I'm trying to write a script that automatically clicks text of a certain color. I have made a semi reliable pixel search for my screen resolution, but to transfer the script to a friend, it would be less accurate as there is other text on the screen of the same color, my code is..

func ExecuteScript3() 
    

$variable3 = PixelSearch(300, 553,1000, 1000,"0x2D0000")


if IsArray($variable3) = True Then
MouseMove($variable3 [0], $variable3 [1],1)
MouseClick("left")
EndIf
EndFunc

func ExecuteScript4()
    
    endfunc

So i was wondering, if there is a way to get internet explorer to read the text and if it says "click here for help", then click it, otherwise, skip that item and search for the next item of that color. or is there another method that works better for this?

thanks

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
×
×
  • Create New...