getProgramDataDirectory
getProgramDataDirectory(): String;
The getProgramDataDirectory method of the Process class returns a string containing the path of the program data directory. The program data directory is used to share files among the users of the executables; for example, the jommsg.log file or shared dictionary spelling files that are updated.
If Jade is not installed under the \Program Files directory, the path of the Jade HOME directory is returned.
If Jade is installed under the \Program Files directory, the value that is returned by the getProgramDataDirectory method depends on the value of the
The values of the ProgramDataDirectory parameter and the corresponding values returned by the getProgramDataDirectory method are shown in the following table.
ProgramDataDirectory Value | Return Value |
---|---|
<default> | The path of the Jade HOME directory with the \Program Files portion replaced with the programmatically obtained path of the common application data directory. For example, a presentation client installed into \Program Files\Jade Software\parsys returns \ProgramData\Jade Software\parsys. |
<homedir> | The path of the Jade HOME directory. |
<programdata> | The same as for <default>. |
Directory name | Directory name. |