Navigation:  Reference > Modules, Conditional Output & Variables > Variables and Conditional Output >

Global predefined variables

Print this Topic Previous pageReturn to chapter overviewNext page

These variables can be used everywhere in your project where variables are supported, including topics, headers, links, the TOC, scripts, macros and all HTML templates. See Using Variables for details.

All the date and time variables use the corresponding date and time formats set in the Windows configuration on the computer on which you are running Help & Manual.

Variable

Content and/or function of the variable

<%TITLE%>

The title of the help project defined in Project > Project Properties > Common Properties > Title & Copyright.

<%COPYRIGHT%>

The copyright statement defined in Project > Project Properties % Common Properties > Title & Copyright.

<%AUTHOR%>

The name of the author of the help defined in Project > Project Properties > Common Properties > Title & Copyright.

<%SUMMARY%>

The Summary text for the project defined in Project > Project Properties > Common Properties > Title & Copyright.

<%VERSION_MAJOR%>

The Major Version text for the project defined in Project > Project Properties > Common Properties > Title & Copyright.

<%VERSION_MINOR%>

The Minor Version text for the project defined in Project > Project Properties > Common Properties > Title & Copyright.

<%VERSION_BUILD%>

The Build Version text for the project defined in Project > Project Properties > Common Properties > Title & Copyright.

<%VERSION%>

An automatically-generated combination of the Major, Minor and Build version variables, with dots between the versions. For example, if Major=3, Minor=25 and Build=329 then <%VERSION%> will be 3.25.329.

<%CITATION%>

The "citation" for Winhelp files defined in Project > Project Properties > Winhelp > Miscellaneous Winhelp Options. This is the text automatically added to text copied and pasted from compiled Winhelp files.

<%SELF%>

The name of the current project file without path or extension.

<%SELFFULLNAME%>

The name of the current project file including the file extension and the full path to the project directory, as displayed in the Help & Manual title bar. This can be useful for documenting which project version you have used to generate your documentation.

<%DATE%>

The current date in short format.

<%DATELONG%>

The current date in long format.

<%TIME%>

The current time in short format.

<%TIMELONG%>

The current time in long format.

<%NOW%>

The current date and time.

<%YEAR%>

The current year in 4-digit format.

<%MONTHNAME%>

The current month in long format (i.e. February, not Feb or 2)

<%TOPICLASTEDITED%>

The date when the topic containing the variable was last edited in short format.

<%TOPICLASTEDITEDTIME%>

The time when the topic containing the variable was last edited.

See also:

Using Variables

Using HTML Templates

 


Page url: http://www.helpandmanual.com/help/index.html?hm_ref_variables_global.htm