Sign in to follow this  
Followers 0
Zaxo

Pixelgetcolor issue

2 posts in this topic

Hello and a good day.

I have some problem with Pixelgetcolor function.It won't work after i ran it again after the initial scan. Here are my code:

$var = PixelGetColor( 193 , 38 )
    If $var = 4383743 Then
        $soll = PixelGetColor( 67 , 390 ) ;;this won't work
        if $soll = 16776191 then
                F6()
                click()
    endif
    EndIf

any enlightment? Thx

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

$var = PixelGetColor( 193 , 38 )
    If $var = 4383743 Then
        $soll = PixelGetColor( 67 , 390 ) ;;this won't work
        if $soll = 16776191 then
                F6()
                click()
                endif
    Else MsgBox(0,"color",$var & " was the color detected");should show you why it didn't execute

    EndIf

***edit***

misplaced an endif

Edited by cameronsdad

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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