ZeroTrace HID
Syntax and Language
The ZeroTrace scripting language — blocks, conditions, variables, operators, comments, and quoting
The ZeroTrace scripting language wraps the raw HID commands in a small set of control-flow, text, and value features. Every construct below is resolved on-device by the transpiler as the script runs.
Language reference
- Blocks — group and repeat lines: write blocks,
repeat,while,function, and comment blocks. - Conditions —
IF/ELSE_IF/ELSE/IF_ENDwith string and numeric comparators. - Variables — declare with
_$VAR, reference with${name}$, mutate withset/add/sub/mul/mod, and read live device states. - Operators — the 14
_$-prefixed value generators for random data and string manipulation. - Comments —
//and#single-line notes pluscommentStart/commentEndblocks. - Quotes — single, double, and backtick quoting, and how to escape a quote character.