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

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ThewarII
Posts: 49
Joined: 01 Oct 2014, 09:33

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 (v1)”

Who is online

Users browsing this forum: bobstoner289, Chunjee, macromint, peter_ahk and 331 guests