Jump to content

Check Pixel Color


Archman
 Share

Recommended Posts

Ok i am trying to get the script to Read the color of a pixel from a specific spot on screen.

I want it so that if the pixel is color D63839 then the prog beeps.

$health = PixelGetColor( 417 , 25 )
If $health = D63839 Then
Beep ( [ 37 [, 1000 ]] )
EndIf

But when i run the exe and it gets to that line i get

If $health = D63839 Then

If $health = ^ERROR

Error Parsing Function Call.

What am i doing wrong? How Should it be written in the script?

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...