Jump to content

read ini Click multiple colors


Xav
 Share

Recommended Posts

How can i click on multiple color if i get

It should be something like thats , But i dont know how it can click on the 2 if 1 color is not here it will click on other one how ?:

$color1 = PixelSearch( 73, 104,804,630, $color1 )
    If IsArray($color1) Then MouseClick("Left",$color1[0], $color1[1],1,0)

Reading
[config]
color1=7627836
color2=3672068


$color1 = IniRead ( "config.ini" , "Config", "color1", "default" )
$color2 = IniRead ( "config.ini" , "Config", "color2", "default" )
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...