Hier mal der Code
Spoiler anzeigen
#include <Misc.au3>
$dll = DllOpen("user32.dll")
While 1
If _IsPressed("6A", $dll) Then
While 1
Send("{F1}")
Send("{F2}")
While 1
$var = PixelGetColor( 855 , 174 )
If $var = 0 Then
Sleep(3000)
;MsgBox(0,"The decmial color is", $var)
Send ( "{SPACE}" )
Sleep(4500)
EndIf
WEnd
WEnd
WEnd
DllClose($dll)
Was ist daran falsch.