How to improve color reading speed of PixelGetColor & PixelSearch at a pixel position on the screen ?
Posted: 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
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.
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 want it faster like 0.001 to 0.005 second.