Template Tags
A template tag is a reserved word written in capital letters and wrapped by “<?” and “?>” strings.
Template tags can be used in all customized messages and are substituted by corresponding actual values before the message will be shown.
Please note that not all tags may be available for every message content.
If some tag is not available then it will not be substituted and will be shown in the message as is.
Template tags may be applied to content saved in UTF-8 or UTF-16 format and cannot be used in an RTF document.
Tags pertaining to common application information are available all the time:
<?APPNAME?> – The content of the “Application Name” field on the compilation form.
<?APPVER?> – The content of the “Application Version” fields on the compilation form.
<?APPINFO?> – The content of the “Application Legal Copyright” field on the compilation form.
<?AUTHOR_CONTACT?> – The content of the “Author contact” field on the compilation form.
<?EXEPATH?> – path of the started EXE file location at run-time.
Tags that are available when the application is compiled with the “Hardware Locking” option:
<?RNAME?> – Name of the registered customer from the registration key. If the registration key is not present then the tag will return “UNREGISTERED”.
<?RMAIL?> – E-mail of the registered customer from the registration key. If the registration key is not present then the tag will return “UNREGISTERED”.
<?COMPID?> – Computer ID of the computer where application is started.
<?DATE_FROM?> – Date of the start of the usage period, fetched from the registration key or from the date limitation on the compilation form.
<?DATE_TO?> – Date of the end of the usage period, fetched from the registration key or from the date limitation on the compilation form.
<?DAYS_LEFT?> – Number of days which are left until the end of the usage period.
Tags that are available when application is compiled with “Trial Version” option:
<?TRIAL_DAYS_LEFT?> – Number of days which are left until the end of the trial period.
<?TRIAL_EXPIR_DATE?> – Date of the last day of the trial period.
Example of the message content with tags:
The application <?APPNAME?> version <?APPVER?> is
registered for customer <?RNAME?> email:<?RMAIL?>
Current computer id is <?COMPID?>
See Also
Custom Message Content
How To Create Custom Resources Dictionary