QR Code
QR Code operator properties for Script Engine. Generates a QR code from a chosen payload (URL, text, email address, phone number, JSON, etc.) and overlays it on the layer at a configurable position and size. Useful for putting a "scan to learn more" link on a broadcast graphic, sharing contact info during a presentation, or letting viewers jump to a website without typing it. The QR contents and position can be changed at runtime from a script.
| Property | Type | Access | Description |
|---|---|---|---|
Payload |
string |
get/set |
What the QR code encodes — typically a URL, but any text works. Common payloads include https://... URLs, mailto:... addresses, tel:... phone numbers, structured JSON, or plain text. Long payloads may require a higher EccLevel to fit; InfoNote shows a warning when the content cannot be encoded at the current settings. |
Size |
int |
get/set |
Width and height of the QR code in pixels (always square). [min=100, max=2160, default=100]. Must be even — odd values are rounded down to keep the code square. Bigger sizes scan reliably from further away; smaller sizes are good when you only have a corner of the screen to spare. |
PosX |
int |
get/set |
Horizontal position of the QR code's top-left corner, in pixels. [default=10]. 0 places the code flush against the left edge. Automatically clamped so the code stays inside the layer at the current Size. |
PosY |
int |
get/set |
Vertical position of the QR code's top-left corner, in pixels. [default=10]. 0 places the code flush against the top edge. Automatically clamped so the code stays inside the layer at the current Size. |
EccLevel |
ErrorCorrectionLevel |
get/set |
How much redundancy is built into the QR code. [default=Medium]. Low packs the most data per code but is least tolerant of damage. Medium (~15% recovery) is a good default. Quartile (~25%) and High (~30%) tolerate more glare, partial obstruction, or low-quality cameras at the cost of holding less data. |
EciMode |
CharacterEncodingMode |
get/set |
Character encoding for text payloads. [default=Default]. Default works for plain ASCII URLs and English text. Use Iso8859_1 for most Western European characters, Iso8859_2 for Eastern European (Polish, Czech, Hungarian, etc.), and Utf8 for full Unicode support including non-Latin scripts. |
Hide |
bool |
get/set |
When true, the QR code is not drawn — the input passes through unchanged. [default=false]. Convenient for showing the code only during certain segments of a show. Toggle from a script to make the QR appear on cue rather than removing the operator entirely. |
Inherits from: AbstractOperator, AbstractAudioMetering.
See also: QR Code in Operators — user-facing introduction, screenshots, and section summaries.