HXP  Command Interface Manual 
Parameters 
Input parameters  
(string) TCLFileName: TCLFileName 
(string) TaskName: TaskName 
(string) InputParametersList: InputParametersList 
Output parameters  
(string) OutputParametersList: OutputParametersList 
(string) errString: The failure reason 
Return 
(int) error code: 0 in success and -1 on failure         
Description 
This function is used to process synchrounous TCLScriptExecuteAndWait command 
which is used to  Execute a TCL script from a TCL file and wait the end of execution to 
return. Refer to the XPS Programmer's manual to get the command description. 
2.2.9  TCLScriptKill 
Syntax 
C# prototype 
int TCLScriptKill(string TaskName,  out string errstring) 
Python prototype 
[errstring] TCLScriptKill (TaskName) 
Parameters 
Input parameters  
(string) TaskName: TaskName 
Output parameters  
(string) errString: The failure reason 
Return 
(int) error code: 0 in success and -1 on failure         
Description 
This function is used to process synchrounous TCLScriptKill command which is used 
to  Kill TCL Task. Refer to the XPS Programmer's manual to get the command 
description. 
2.2.10  TCLScriptKillAll 
Syntax 
C# prototype 
int TCLScriptKillAll( out string errstring) 
Python prototype 
[errstring] TCLScriptKillAll () 
   
EDH0318En1042 — 12/18  6