Jump to content

pixel search :)


 Share

Recommended Posts

i made this and its doesnt work

#include <GUIConstants.au3>
HotKeySet( "{NUMPAD1}" , "pixel")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 447, 193, 125)

GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

Func pixel()
    $pixel = PixelGetColor ( 222 , 9280 )
    if GUICtrlRead($pixel) = 0x0b0b0b Then MouseClick("right") 
    sleep ("600")
    Return
Endfunc
    

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
    
WEnd
Edited by Terrified
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...