The section
tvscript Command Syntaxdiscussed the command-line options used when invoking the
tvscript command. You can also place commands in a file and provide them to
tvscript using the
-script_file command-line option. Using a script file supports the use of Tcl to create more complex actions when events occur. The following sections describe the functions that you can use within a CLI file.