ReadQRCode

Returns as text the value of a QR code in a container field.

Format 

ReadQRCode ( container )

Parameters 

container - any expression that returns container data.

Data type returned 

text

Originated in version 

19.5

Description 

Use this function to capture the QR code found in the image in the specified container field on supported operating systems (on Linux, support starts with Ubuntu 22.04).

Example 1 

Stores text extracted from the container field and opens the URL in a web browser.

Copy
Set Field [ Product::URL ; ReadQRCode ( Invoices::Container ) ]
If [ Left ( Product::URL; 4 ) = "http" ]
    Open URL [ With dialog: Off; Product::URL ]
End If