Command: ScriptStart
- Updated2024-09-12
- 3 minute(s) read
Command: ScriptStart
Command: ScriptStart
Valid names: ScriptStart, VBSStart
Starts a VBS or Python script.
Input Parameters
FileDlgName |
Specifies a file. You also can specify the path and the filename extension. |
[VBSProcName] |
Specifies the name of a subroutine. By default the VBSProcName variable contains an empty text. For Python scripts, the command ignores this parameter. |
| [AutoObjLetOpen] | For future extensions. |
| Note When the ScriptStart command is called, DIAdem also executes the main section of the subscript and initializes the variables. The command then runs the specified subroutine. |
| Note When the ScriptStart command is called, you cannot debug the routines, transfer parameters, or access the script variables. You can use only DIAdem variables or user variables to transfer values. Therefore, use the ScriptInclude command instead. If you use the ScriptInclude command instead of the ScriptStart command, you can speed up scripts. |
Note Use the ScriptInclude command instead of the ScriptStart command when you extend scripts. The following table describes the various application options. Call ScriptInclude only once at the beginning of a script. Do not call the ScriptInclude command in loops.
|
Related Topics
Command: ScriptInclude | Command: ScriptStatement | Command: SubSequence | Variable: ScriptFile | Variable: ScriptScope | Variable: Statement | Variable: SubSequenceText

