User Tools

Site Tools


tnhscript:genericcontrol

GenericControl

A script which can take a string argument.

The script will respond to TurnOn and TurnOff messages similarly to GenericTrap. The effect is specified in the design note parameters on and off. If either parameter is omitted, then that message will be ignored.

ScriptControl

A ScriptControl message activates the script using the first argument of the message.

tnhscript/genericcontrol.txt · Last modified: 2010/11/23 00:11 (external edit)