Jump to content

If x512 y384 = hexcode than


Recommended Posts

While 1
   $MousePos = MouseGetPos()
   $DecColour = PixelGetColor ($MousePos[0] ,$MousePos[1])
   $HexColour = "0x" & Hex($DecColour,6)
   If $HexColour = "0x000000" Then
      MsgBox(0,"Colour","The Colour beneath the mouse is black!")
   EndIf
Wend

Edited by burrup

qq

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