Garrett19212 Posted March 19, 2005 Share Posted March 19, 2005 If the spot where the mouse is a specific color than do an action how would i do that Link to comment Share on other sites More sharing options...
buzz44 Posted March 19, 2005 Share Posted March 19, 2005 (edited) 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 March 19, 2005 by burrup qq Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now