Globals.Currdir
Globals.Currdir returns the current directory.
WARNING: As of 17.02, this is not working and returns a scripting expression error.
Note: Globals are not available to Grid and External scripts until 17.02. Please check the scripting tree in the script window in Deacom to make sure Globals are available.
Applies To
Properties and Methods
None
Available
The .Currdir property is available in:
- 13.03.016
- All newer builds
Note: The .Currdir property and all sub-classes, properties, and methods are only available in Form Layout scripts.
Type
DBNull
Syntax
Globals.Currdir;
Parameters
None
Example
//--Run on any Form event.
Event.Form.YesNo(Globals.CurrDir);
/*
Prompt response should be the current directory of Deacom
This Globals property is currently broken.
You can use the Globals.Addins property and strip off the \Addins\ portion to get the current directory
*/