Template Tags

 

Template tag is a reserved word written in capital letters and wrapped by “<?” and “?>” strings.
The template tags may 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 it is.

Template tags may be applied to content saved in UTF-8 or UTF-16 format and cannot be used in RTF document.

 

Tags related with common application information are available all the time.

<?APPNAME?> – The content of Application Name field on compilation form.

<?APPVER?> – The content of Application Version fields on compilation form.

<?APPINFO?> – The content of Application Legal Copyright field on compilation form.

<?AUTHOR_CONTACT?> – The content of Author contact field on compilation form.
 

Tags are available when application is compiled with “Hardware Locking” option.

<?RNAME?> – Name of registered customer from the registration key. If registration key is not present then the tag will be substituted by “UNREGISTERED” word.

<?RMAIL?> – E-mail of registered customer from the registration key. If registration key is not present then the tag will be substituted by “UNREGISTERED” word.

<?COMPID?> – Computer ID of the computer where application is started.

<?DATE_FROM?> – Date of start of the usage period, fetched from the registration key or from the date limitation on compilation form.

<?DATE_TO?> – Date of end available usage period, fetched from the registration key or from the date limitation on compilation form.

<?DAYS_LEFT?> – Number of days which are left to the end of the available usage period.

 

 

Tags are available when application is compiled with “Trial Version” option.

<?TRIAL_DAYS_LEFT?> – Number of days which are left to the end of the trial period.

<?TRIAL_EXPIR_DATE?> – Date of the latest 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?>

 

 

Related Articles:

Custom Message Content

How To Create Custom Resources Dictionary