Variable: CurrentScriptPath

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2012 Help
DIAdem 2014 Help
DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help

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

Used by

Program Variables in Commands

WAS THIS ARTICLE HELPFUL?

Not Helpful