Solved
Forum Discussion
karthick7
9 years agoContributor
i recommend 1024 * 768 resolution.
While Taking Regions images..please take at 0 pixels..it will working well for compare
Regards,
Karthick Raj P
lion_9
9 years agoOccasional Contributor
sorry, but not understand what you mean "take at 0 pixels.". Could you please to explain?
- karthick79 years agoContributor
Please Refer screenshot..take image as small as possible with 0 pixels
- lion_99 years agoOccasional Contributor
I have manually added pictures to Regions collection ant then use:
Result := Regions.Compare(ExpectedPicture, ActualPicture);
- karthick79 years agoContributor
function Test()
{
let w;
w = Sys.Desktop.ActiveWindow().Picture(20, 20, 50, 50);
// Region1 is part of the Regions collection
if (strictEqual(Regions.FindRegion(w, "Region1")))
Log.Warning("Not found", null);
}