Turbo Play supports JavaScript scripting for automating commands. You can put a script part in the sequence and it's script is executed.
The script is mainly for programmers and uses the TP2.() namespace, for example: TP2.Stop(); TP2.Tracks("Track 1").Mute = 1; For more on what classes and methods are available, check Script.idl. Script classes are continuously added.