Read QR or Barcode
Reads a QR code or barcode on the screen (a window, an area, one you drag out when it runs) or in a picture file, and gives its text, e.g. a link, a Wi-Fi password or a product number. Continues on Found or Not found, and on Cancel when choosing the area is canceled.
In the editor, press Space on the canvas to add a step, then open Actions > Screen, or type its name. In Simple mode it's under Show all, and search finds it.
Settings
Wait for it up to (ms)
A duration0 looks once. Otherwise it keeps looking until a code shows up or the time is up.
Look in
A choicePicture file
A file pathWith A picture file: a PNG, JPEG, BMP, TIFF or GIF, e.g. from Take Screenshot.
X
PixelsWith an area: physical pixels on the whole desktop.
Y
PixelsWidth
PixelsHeight
PixelsWhere it continues
- Found: Continues here when it's found; its position is in the outputs below.
- Not found: Continues here when it isn't found (e.g. the app has no window).
- Cancel: Continues here when it's canceled.
Outputs
Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.
| Output | Gives | What it is |
|---|---|---|
| Text | Text | What the code holds. |
| Type | Text | QR, EAN-13, Code 128, Data Matrix... |
| X | Pixels | The middle of what was found: wire into Move Mouse to click it. |
| Y | Pixels | |
| Left | Pixels | |
| Top | Pixels |