Show / Hide Table of Contents

Class uiimage

Captures, finds and clicks images and colors in windows.

public class uiimage
Remarks

An image is any visible rectangular part of a window. A color is any visible pixel (the same as image of size 1x1). A uiimage variable holds results of uiimage.find and similar functions (rectangle etc).


Namespace: Au
Assembly: Au.dll
Inheritance
object
uiimage

Properties

Name Description
ListIndex

When the image argument is a list of images, gets 0-based index of the list image.

MatchIndex

Gets 0-based index of current matching image instance.

Rect

Gets location of the found image, relative to the search area.

RectInScreen

Gets location of the found image in screen coordinates.

Methods

Name Description
MouseClick(Coord, Coord, MButton)

Clicks the found image.

MouseClickD(Coord, Coord)

Double-clicks the found image.

MouseClickR(Coord, Coord)

Right-clicks the found image.

MouseMove(Coord, Coord)

Moves the mouse to the found image.

PostClick(Coord, Coord, MButton)

Posts mouse-click messages to the window, using coordinates in the found image.

PostClickD(Coord, Coord)

Posts mouse-double-click messages to the window, using coordinates in the found image.

PostClickR(Coord, Coord)

Posts mouse-right-click messages to the window, using coordinates in the found image.

Skip(int)

Can be used in also callback function to skip n matching images. Example: also: o => o.Skip(n).

ToString()
find(IFArea, IFImage, IFFlags, int, Func<uiimage, IFAlso>)

Finds image(s) or color(s) displayed in a window or other area.

find(Seconds, IFArea, IFImage, IFFlags, int, Func<uiimage, IFAlso>)

Finds image(s) or color(s) displayed in a window or other area. Can wait and throw NotFoundException.

wait(Seconds, IFArea, IFImage, IFFlags, int, Func<uiimage, IFAlso>)

Finds image(s) or color(s) displayed in a window or other area. Waits until found. More info: uiimage.find.

waitChanged(Seconds, IFArea, IFFlags, int)

Waits until something visually changes in a window or other area. More info: uiimage.find.

waitNot(Seconds, IFArea, IFImage, IFFlags, int, Func<uiimage, IFAlso>)

Waits until image(s) or color(s) is not displayed in a window or other area. More info: uiimage.find.