|
Script Object |
|
See Also: |
The Script.Filename property returns the filename of the root APG script being executed.
VBScript:
JScript:
| Script | The Script object. |
| sFilename | The file name of the root APG script. |
When an APG script is running, there may be more than one script file involved. An APG script is explicitly executed, and all of its include files (and its include files' include files) are also loaded and executed. The root APG script is the APG script that is explicitly executed - its include files form a tree structure from it. The Script.Filename property, along with the Script.Dir and Script.Path properties, return path information about the root APG script.