The TSM program is responsible for running scripts that are produced with an editor and compiled with the TAS program. Once a script is started on a particular channel, TSM continues to execute instructions until a wait condition occurs. Script execution then is suspended on that channel until the wait condition is satisfied by an external event or a timeout occurs.
Wait conditions fall into two general categories.
Speech-flushing instructions |
Script instructions that cause a wait by flushing any speech that has been queued for playing by the script before the instructions are executed. |
Wait-causing instructions |
Script instructions that cause a wait during their execution that is characteristic of their function. They make a request on behalf of the script that must be satisfied by a process external to TSM. |
Note:
Some instructions fall into both of the wait condition categories.