*DefaultFileAccessFromWorkingDirectory()
When the application is launched, this statement specifies the state of default directory location for file browser.
Syntax
*DefaultFileAccessFromWorkingDirectory (True/False)
Application
MotionView, HyperView, HyperGraph, TextView, and MediaView.
Inputs
- True
- Sets the default directory for all file browsers to the working (or launch) directory when the application is launched.
- False
- Keeps the default directory for all file browsers as the last directory the file browser accessed, from the last time the application was used.
Context
*BeginDefaults()
Example
*BeginDefaults()
*DefaultFileAccessFromWorkingDirectory(True)
*EndDefaults()
Comments
The *DefaultFileAccessFromWorkingDirectory(True/False) parameter is only run at the time of application launch. Once a file browser is used to read/write a file, the file browser defaults to the last accessed directory until the application is closed, regardless of the *DefaultFileAccessFromWorkingDirectory(True/False) parameter setting. The default parameter file sets *DefaultFileAccessFromWorkingDirectory() to True on Unix and False on PC.