
Command Summary 42
2.14 Scripts
FileName
FileName
FileName
Send an array of bytes saved in the specified script file as if it was received from the serial port. Sending data to the
serial port is still possible, but it will queue up in the receive buffer and will only be parsed after the execution of
the script file. Scripts may be stacked up to 10 deep.
Filename, and path from the root folder, of the script file to run.
14.2 Create a
Scripted Region
ID X Y W H UpBitmap DownBitmap UpScript DownScript
ID X Y W H UpBitmap DownBitmap UpScript DownScript
ID X Y W H UpBitmap DownBitmap UpScript DownScript
Create a region that responds to a touch event by executing scripts, in addition to the normal visual and event
updates. Scripts always execute, regardless of the current touch reporting style. If only one script is desired, use
an empty string for the other script filename.
Index used to identify the desired touch region.
Leftmost coordinate of the scripted touch region.
Topmost coordinate of the scripted touch region.
Width of the scripted touch region.
Height of the scripted touch region.
Index of the loaded bitmap displayed when the region is released.
Index of the loaded bitmap displayed when the region is pressed.
Filename of the script to be executed when the region is released.
Filename of the script to be executed when the region is pressed.
14.3 Create a
Scripted Key
ID Row Col UpScript DownScript
ID Row Col UpScript DownScript
ID Row Col UpScript DownScript
Designate a specific key that responds to a press event by executing scripts. Scripts always execute, regardless of
the current key reporting style. If only one script is desired, use an empty string for the other script filename.
Index used to identify the desired key value.
Row index of the scripted key.
Column index of the scripted key.
Filename of the script to be executed when the key is released.
Filename of the script to be executed when the key is pressed.
Komentarze do niniejszej Instrukcji