Hi all,
I’m looking to see if there is a possible way to do this
I am looking for a script that looks at a pixel, if it is green, pressing the Z key will instead press X. Don’t need it to press anything automatically, but to just change my input
Change keypress when pixel is certain color Topic is solved
Re: Change keypress when pixel is certain color Topic is solved
Hallo,
try:
try:
Code: Select all
CoordMode, Pixel, Screen
CoordMode, Mouse, Screen
While !GetKeyState("LButton")
{
MouseGetPos, X, Y
PixelGetColor, Color, X, Y
ToolTip, The Color at %X%`, %Y% is %Color%.`n Please Click
Sleep, 100
}
ToolTip
Return
#If PixelGetColor(X, Y) = Color
z::x
#If
PixelGetColor(X,Y)
{
PixelGetColor, Color, X, Y
Return, Color
}
Who is online
Users browsing this forum: No registered users and 52 guests