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 Windows, iOS, iPadOS, macOS, or Ubuntu, starting with Windows 10, iOS 15.0, iPadOS 15.0, macOS 12.0, and 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