The \toText option means that the script should be creating an output file.
If you change this to \toList (or delete the line since \toList is the default), the output will be shown in the list window.
The SampleScript.py file gives a larger example of a script.