Jump to content

Doubt pixelsearch and condition


Borges
 Share

Recommended Posts

Sorry if I posted in wrong section but...

how can I do something like that?

 

If PixelSearch(660, 30, 670, 38, 0x242424, 0 , 1) <> @error Then
    Send("{F3}")
    Sleep(200)
 ElseIf PixelSearch(800, 30, 810, 38, 0x242424, 0 , 1) <> @error Then
    Send("{F4}")
    Sleep(200)
 EndIf

 

Link to comment
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
 Share

×
×
  • Create New...