Sign in to follow this  
Followers 0
Wollie

Finding a color value

3 posts in this topic

Hello,

Is it possible to return a color value to the script? For example declare one variable the color where the mouse hovering over.

I couldnt find any functions regarding this subject

Thanks in advance.

Share this post


Link to post
Share on other sites



While 1
    $xy = MouseGetPos()
    $currentpixel = PixelGetColor($xy[0],$xy[1])
    ToolTip("Pixel color = " & $currentpixel)
    Sleep(100)
WEnd


There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly

Share this post


Link to post
Share on other sites

Thanks alot

That is exactly what i was looking for :)

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