The “ENV” custom field command can be used to determine environmental properties of EasyCatalog, such as the version of InDesign that’s running or the platform (Mac/Windows) that EasyCatalog is running on.
1 | ENV('platform') |
The “ENV” command takes a single parameter, which the name of the attribute you would like to retrieve:
Attribute | Description |
date | The current date in dd/mm/yyy format |
version | EasyCatalog version number |
buildno | EasyCatalog build number |
username | The currently logged-in user name |
platform | Macintosh or “Windows” |
osversion | Operating System version number in nn.nn format |
decimalpt | System’s decimal separator character |
thousandssep | System’s thousands separator character |
datasourcename | The name of the data source this custom field belongs to |
applicationname | “InDesign”, “InCopy” or “InDesign Server” |
workspacefolder | Workspace folder location |
applicationversion | InDesign/InCopy/InDesign Server version number |
datasourcespecifier | The “data source specifier”. The value of this depends on the type of data source being used. If it’s ODBC, for example, it would be the connection string. |
datasourcelastsynctime | The date/time the data source was last synchronized. This will be a string, in the same format as displayed on the (i) information dialog. |