If pixel is .... run .

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
0SaeeD0
Posts: 1
Joined: 10 Aug 2022, 14:53

If pixel is .... run .

Post by 0SaeeD0 » 10 Aug 2022, 14:56

hi I need a code for if pixel equal to 0xFB54FB then run l

User avatar
boiler
Posts: 16930
Joined: 21 Dec 2014, 02:44

Re: If pixel is .... run .

Post by boiler » 10 Aug 2022, 16:35

Code: Select all

PixelGetColor, pixel, 100, 100, RGB ; arbitrary coordinates
if (pixel = 0xFB54FB)
	Run, l ; l doesn't sound like an executable file

Post Reply

Return to “Ask for Help (v1)”