beautypg.com

13 scripting – Matrix Orbital GLK19264A-7T-1U User Manual

Page 48

background image

Command Summary

43

6.13 Scripting

13.1 Upload a
Script File

Dec
Hex
ASCII

254 92 2

FE 5C 02

■ \

STX

ID Length Data
ID Length Data
ID Length Data

v8.3

Save a list of commands to be executed at a later time. Bytes are saved as if they are being sent by the host, for
upload protocol see the File Transfer Protocol or XModem Transfer Protocol entries.

ID

Short

Unique identification number of the script, value between 0 and 1023.

Length

Integer

Length of the script in bytes.

Data

Byte(s)

Data to be sent to the display when the script executes.


13.2 Set
Scripted Key

Dec
Hex
ASCII

254 141

FE 8D

■ ì

ID Row Column Down Script Up Script
ID Row Column Down Script Up Script
ID Row Column Down Script Up Script

v8.4

Create a key behaviour that responds to a press event by executing an uploaded script.

ID

Byte

Unique key identification number, maximum based on number of keys available.

Row

Byte

The row value of the key to be linked to the specified scripts.

Column

Byte

The column value of the key to be linked to the specified scripts.

Down Script

Short

Identification number of the script to run on a down event, value between 0 and 1023.

Up Script

Short

Identification number of the script to run on an up event, value between 0 and 1023.


13.3 Run
Script File

Dec
Hex
ASCII

254 93

FE 5D

■ ]

ID
ID
ID

v8.3

Execute a previously loaded script. Script 0 is loaded automatically on startup, unless in override mode.

ID

Short

Identification number of the script to run, value between 0 and 1023.