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