IMAGECLICK

From iMacros

Jump to: navigation, search

Sends a DS CLICK command to the position of the input image specified via the IMAGE attribute. The input image is searched on the currently displayed website using image recognition algorithms. CONFIDENCE specifies how closely the found image must match the input image. A value of 100 means exact match. This command is only available if the Image Recognition Plugin is installed.

If the image is found then !IMAGEX and !IMAGEY hold the coordinates of where it was found.

Contents

Syntax iMacros Browser IE Plug-in

IMAGECLICK IMAGE=image_file CONFIDENCE=n [CONTENT=some_content]

Since iMacros V6.30

IMAGECLICK POS=<n> IMAGE=image_file CONFIDENCE=n [CONTENT=some_content] [ALGORITHM=A/B]

Parameters

  • POS
    Find the n-th image. Same as the POS attribute in TAG
  • IMAGE
    The path to the local location of the image to be searched. Supported file formats are BMP and PNG.
  • CONFIDENCE
    The confidence level, i.e. level of similarity between the input and the remote picture. Must between 1 and 100.
  • CONTENT
    The value that is sent to the clicked element. (Replace blank spaces by <SP>, like in "Hello<SP>world")
  • ALOGRITHM
    See detailed explanation at IMAGESEARCH

Examples

Example macro: Demo-ImageRecognition

See Also

Image Recognition, IMAGESEARCH, DS

Personal tools