Desk methods
Lamp
These methods control the desk lamp on your workbench.
Returns
trueif the lamp is on,falseotherwise.
desk.SetLampState( state boolean )
Passing
truetostatewill set the lamp on, andfalsewill turn it off.
desk.SetLampColor( color color )
Sets the lamp's color to
color.
Minitool
These methods control the Minitool status screen on your desk.
In all methods containing the argument persistent, this argument tells whether to keep the message forever or if it should disappear after a few seconds.
desk.ShowMessage( message string, persistent boolean )
Displays a message
messagewith a blue background.
desk.ShowWarning( message string, persistent boolean )
Displays a message
messagewith a flashing yellow background.
desk.ShowError( message string, persistent boolean )
Displays a message
messagewith a flashing red background.
If there is currently a persistent message being displayed, this will clear the Minitool.