You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we have 2 image objects, we can test imageA is part of imageB.
If imageA contains imageB, returns relative coordinates (or absolute coords)
A few typical use case scenarios
See this pseudo code
Screen.grab(imageA, ...whole screen...)
Screen.grab(imageB, ...image of some button...) // bad-way, i will request this issue separately
var coord = new Coord;
if (imageA.findImage(imageB, coord) == true) {
robot.Mouse().click(coord); // click found image
}
How you expect the feature to work
Must be very fast
Don't require to turn Aero off
Any other useful information
This implementation provides the easiest way to automate UI automation, making it easier for end users who do not know programming to easily access them.
Comparing image buffers directly to pixels by pixel is much faster than expected.
This is the method used by AutoHotkey, NaMacroJS (My own javascript platform similar to robot-js).
PS. Sorry, I'm finally robot-js user, not robot native. But I'm a c ++ developer.
The text was updated successfully, but these errors were encountered:
A short and descriptive title
A detailed description of the feature
A few typical use case scenarios
Screen.grab(imageA, ...whole screen...)
Screen.grab(imageB, ...image of some button...) // bad-way, i will request this issue separately
var coord = new Coord;
if (imageA.findImage(imageB, coord) == true) {
robot.Mouse().click(coord); // click found image
}
How you expect the feature to work
Any other useful information
PS. Sorry, I'm finally robot-js user, not robot native. But I'm a c ++ developer.
The text was updated successfully, but these errors were encountered: