Variable: CurrentScriptPath
- Updated2024-09-12
- 1 minute(s) read
Variable: CurrentScriptPath
Variable: CurrentScriptPath
Specifies the path of the script file currently running.
| Definition | CurrentScriptPath, String variable |
| Access: Read only |
The variable only receives a value when the script is running. When the script has finished, the variable receives an empty string.
If you use ScriptInclude to integrate a script, the CurrentScriptPath variable in the main part of the integrated script contains the name of the integrated script file. However, if you call procedures and functions of the integrated script, the CurrentScriptPath variable contains the path of the calling script file.
The page DIAdem Path Variables contains a list of all DIAdem path variables.
Related Topics
The DIAdem Folder Structure | Variable: ConfLibrPath | Variable: ConfReadPath | Variable: ConfWritePath | Variable: DACLibrPath | Variable: DACReadPath | Variable: DACWritePath | Variable: DataLibrPath | Variable: DataReadPath | Variable: DataWritePath | Variable: DeskDrv | Variable: LayoutLibrPath | Variable: LayoutReadPath | Variable: LayoutWritePath | Variable: MediaLibrPath | Variable: MediaReadPath | Variable: MediaWritePath | Variable: OsTmpDrv | Variable: ProgramDrv | Variable: ScriptLibrPath | Variable: ScriptReadPath | Variable: ScriptWritePath | Variable: SysDrv