You can use CaptureScreen to capture the screen, then use GetImagePixel to get the color.
You can download the sample from PickColor.zip.
You can use CaptureScreen to capture the screen, then use GetImagePixel to get the color.
You can download the sample from PickColor.zip.
In Automatic Mouse and Keyboard, you can use the function ScaleImage to resize an image.
And you can download the sample from ScaleImage.zip
This post tells you how to create a infinite loop until the specified picture is not visible on the screen.
Click the loop button to insert a For Loop.
Check the option “Infinite Loop“, then click “OK”.
Click the “if” button and click “If Image Found” to insert a Search Picture command with If Else statement into the For Loop.
Click the loop button again and insert a Exit Loop command between Else and End If.
You can convert image file format with Automatic Mouse and Keyboard easily. Just call the function LoadImage to load a image file, then can the function SaveImage.