GeoDict Settings Functions
Get information about GeoDict settings, as release version or location of different folders.
gd.getSettingsFolder
Returns the settings folder as a string.
Windows: c:\user\%USERNAME%\GeoDict2024
Linux: ~/.geodict2024
Input: None
Example:
|
gd.getInstallationFolder
Returns the directory that contains the GeoDict executable as a string.
Input: None
Example:
|
gd.getProjectFolder
Returns the current project folder of GeoDict as a string.
Input: None
Example:
|
gd.getHostName
Returns the name of the host as a string.
Input: None
Example:
|
gd.getStandardFileHeader
Returns the Python dictionary for the standard header that is used in recorded macros as a string.
Input: None
Example:
|
gd.getVersion
Returns the current GeoDict version as a string.
Input: None
Example:
|
gd.getVersionInfo
Returns the Python dictionary for the standard header that is used in recorded macros, containing the GeoDict version, revision and release date.
Input: None
Example:
|
gd.get3rdPartyBinFolder / gd.getResourcesFolder / gd.getGDModulesFolder
Gets the directory that contains the 3rd party binaries / GeoDict resources / GeoDict module folders as a string. Usually, for non-developers all three data groups are contained in the GeoDict installation folder. Thus, use getInstallationFolder instead.
Input: None
|
gd.getGDFolder
Gets the directory that contains the GeoPy API files as a string.
Input: None
|
gd.getGDGeoAppsFolder
Gets the directory that contains the built-in GeoDict GeoApps as a string.
Input: None
|
gd.getGDVideoMacroFolder
Gets the directory that contains the built-in video macros as a string.
Input: None
|