6 modifying and creating new proglets, 1 the global object – LSC Lighting CLARITY LX Series v.1 User Manual
Page 264

Appendix
Clarity
Operator Manual
Page 254
wheel
Normally checkboxes don’t get assigned to encoders, but this can override that.
int
Uses a whole number spin box instead of a decimal number spinbox.
log
Causes the value range to be interpreted along a logarithmic scale.
Controls are displayed in the order that they are used in the script.
44.6 MODIFYING AND CREATING NEW PROGLETS
When Clarity 2.2 is first run, it checks the Clarity/programmerscripts directory. If it is empty,
then it copies its internal programmer script files into this directory. The files that are written are
added to the manifest.txt file. If you delete any files from this directory then Clarity won’t replace
them next time since the file will be recorded in the manifest. If you want to restore any default
files that may have been deleted, then simply remove them from manifest.txt or delete
manifest.txt entirely. Note that Clarity won’t overwrite any files that already exist in that directory
(for example if you modified a default file then deleted the manifest, your modified file would be
preserved).
When you edit any .cps files in this directory, Clarity will automatically reload the relevant proglet.
Also, if you add or delete files in this directory, then the proglet window will be immediately
updated to reflect the contents.
44.7 ECMASCRIPT FEATURES SUPPORTED BY CLARITY (QT SCRIPT)
This reference contains a list of built-in objects, functions and properties supported by Qt Script.
For a detailed description, see the
44.7.1 The Global Object
Value Properties
NaN
Infinity
Undefined
Function Properties
eval(x)
parseInt(string, radix)
parseFloat(string)
isNaN(number)
isFinite(number)
decodeURI(encodedURI)
decodeURIComponent(encodedURIComponent)
encodeURI(uri)
encodeURIComponent(uriComponent)
Constructor Properties