| Global Variable Name | Description |
|---|
| HELasterrormessage | When an error occurs, this variable contains the error message. |
| DefWinTitle | The title of the main window. |
| HomePage | The index page's filename. |
| HEPubStorageLocation | The path where the publication stores its data. You can customize it. |
| HEPubTempPath | The path to a temporary location where the publication stores its external files temporarily. This will change each time. |
| HEPublicationDiskInfo | Contains the device ID returned by Windows of the USB disk on which the publication EXE lies. |
| CurPageTitle | The title of the page which is currently displayed. |
| FwdButtonEnabled | Is the forward button enabled? (true/false) |
| BackButtonEnabled | Is the back button enabled? (true/false) |
| IEHighLightResults | Boolean (0 or 1, 1 by default). If set to 1, search words will be highlighted in an IE browser publication. |
| LastSearchQuery | The last search query. |
| HEPublicationFile | The full path to the publication's .exe file (including filename) |
| HEPublicationPath | The full path to the folder that contains the publication's .exe file (no filename). It will always include the path trailing backslash (e.g. C:\MyPath\). |
| HEPubRegistered | Boolean (0 or 1). Indicates whether the publication is registered or not. 0 = Trial ; 1 = Registered. Only available in a Restricted Publication. |
| HEPubUserName | Contains the name of the registered user. Only available in a Restricted Publication. |
| HEPubUserData1 | Contains the company name of the registered user. Only available in a Restricted Publication. |
| HEPubExpired | Boolean (0 or 1). Indicates whether the trial period is over or not. Only available in a Restricted Publication. |
| HEPubDays | Contains the number of remaining days in the trial period. Only available in a Restricted Publication with a trial period, based on number of days. |
| HEPubRuns | Contains the number of remaining runs in the trial period. Only available in a Restricted Publication with a trial period, based on number of runs. |
| HEPublicationOnUSB | Boolean (0 or 1). Tells you whether the publication is on a USB drive or not. In order to be used, GetManualHardwareID(1) must be invoked first. For example, using this global variable lets you decide whether a publication may be run or not. |
| HEURLShowInPopupTitle | Boolean (0 or 1). Allows IE publications to display URLs in popup titles. If set to 1, if you display an external website in a popup window, the popup will bear the URL to that website until it is completely loaded. |
| HEBuiltInServerHost | Contains the root URL to the local built-in server if the latter is active. Scheme: http://localhost:[port]/ (only for IE publications). |
| HECheckDebug | Boolean (0 or 1). Tells you whether a debugger was detected or not. |
| HEInternetCachePath | Contains the path to the local Temporary Internet Files folder (only for IE publications). |
You should only read the values of these variables and not set their values yourself, except for IEHighLightResults & HEURLShowInPopupTitle.