How to improve color reading speed of PixelGetColor & PixelSearch at a pixel position on the screen ?

Get help with using AutoHotkey and its commands and hotkeys
ThewarII
Posts: 38
Joined: 01 Oct 2014, 09:33
Facebook: [email protected]

How to improve color reading speed of PixelGetColor & PixelSearch at a pixel position on the screen ?

18 May 2019, 05:40

As my my question in subject: "How to improve color reading speed of PixelGetColor & PixelSearch at a pixel position on the screen ?"
I have a code very short like

Code: Select all

Loop,
{
	PixelGetColor,ColorA,123,321
	If (ColorA = 0x123456)
	{
		Send, do something very short, example: send, 8
	}
	PixelSearch,ColorX,ColorY,123,321,123,321,0x123456,3
	If (ColorX = 123 && ColorY = 321)
	{
		Send, do something very short, example: send, 1
	}
}
i found speed of PixelGetcolor delay around from 0.01 to 0.02 second.
i want it faster like 0.001 to 0.005 second.

Return to “Ask For Help”

Who is online

Users browsing this forum: flyingDman, Google [Bot], honarjoo, Odlanir, WOlfen and 113 guests