Jump to content

mouse event ?


Recommended Posts

when i move a mouse and click some where , I want the following code executed .

ideas ..please

$pos = MouseGetPos()
$var = PixelGetColor( $pos[0] , $pos[1])
MsgBox(0,"The decmial color is", $var)
MsgBox(0,"The hex color is", Hex($var, 6))
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

  • Recently Browsing   0 members

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