2.1.2.2 Script Mode
Scripts invoke a sequence of TXST commands without requiring your input, much like a shell script. Scripts contain TXST commands in a text file with a .py file extension, for example, filename.py. You use script files with three modes(Invoking TXST with the script, using Jython commands for running scripts and invoking the script with Ant build file). See Running Scripts.
Parent topic: Modes of Operation