<StreamServe installation>\Services\StoryTeller\<version>\binStand-alone – the StoryTeller.exe.config file.Via Design Center – the StoryTellerStarter.exe.config file.
1 Locate the following setting within the <applicationSettings> tag.<setting name="ScriptPython_CustomCommand_0" serializeAs="String">
2 Within the value tag, add the module and function you want to invoke when running the custom Python command. For example:<value>mymodule.myfunction()</value>
1 Locate the following setting within the <applicationSettings> tag.<setting name="ScriptPython_OnStartCommand" serializeAs="String">
2 Within the value tag, add the python library files you want to import with the following syntax
–
– You can import several modules using semicolon (;) as separator.You can also use the execfile <execfile> command as the value where <execfile> is a Python script containing the import commands.<setting name="ScriptPython_OnStartCommand" serializeAs="String"><value>import trigmethodslib;from colorslib import *</value></setting>
1 Locate the following setting within the <applicationSettings> tag.<setting name="ScriptPython_ImportPath" serializeAs="String">
2 Within the value tag, edit the path relative to the \bin folder to where you store your Python modules that you want to import. By default it is:<value>../py</value>
In the Python Script panel, you can browse through the previously issued commands using Ctrl key + the up and down arrow keys.
OpenText StreamServe 5.6 | Updated: 2013-03-01 |