Code: Select all
square := "0xFFFFFF"
circle := "0x000000"
Pixelgetcolor, RED, 10, 10
Pixelgetcolor, BLUE, 200, 200
if RED in %square% and if BLUE not in %circle%
ControlSend,, X, Notepad
Thanks!
Code: Select all
square := "0xFFFFFF"
circle := "0x000000"
Pixelgetcolor, RED, 10, 10
Pixelgetcolor, BLUE, 200, 200
if RED in %square% and if BLUE not in %circle%
ControlSend,, X, Notepad
Code: Select all
square := "0xFFFFFF"
circle := "0x000000"
Pixelgetcolor, RED, 10, 10
Pixelgetcolor, BLUE, 200, 200
if (RED = square && BLUE != circle)
ControlSend,, X, Notepad