Previous  Next  Contents 

Text Macros for Time and Date

Certain text strings can be placed in symbols that will cause the time and date to be displayed. When viewing from the Edit Text dialog, you see these text strings. When viewing from the main window, or printing, you see the time or date. To use one of these macros, place the string, exactly as shown, in the symbol.

Macro String Meaning
@FDATE_M The last date the document was saved (US Format)
@FDATE_D The last date the document was saved (European Format)
@CDATE_M The current date (US Format)
@CDATE_D The current date (European Format)
@FTIM The last time at which the document was saved
@CTIM The current time

Text Macros for Document Name and Symbol Number

Certain text strings can be placed in symbols that will cause the document name and symbol number to be displayed. The document name is the first part of the file name of the document. The symbol number is the internal reference number given to a symbol to make it unique. When viewing from the Edit Text dialog, you see these text strings. When viewing from the main window, or printing, you see the time or date. To use one of these macros, place the string, exactly as shown, in the symbol.

Macro String Meaning
@DOCNAME The name of the document
@SYMNUM_ The symbol number, no leading zeroes
@SYMNUM0 The symbol number, with leading zeroes
@PAGNUM_ The page number, based on printing order (X or Y first), leading blanks
@PAGNUM0 The page number, with leading zeroes

The @DOCNAME macro, when used in an embedded Chartist-Pro object, uses the name of the host document. Also, if this macro is used on systems with Long File Name support, it can be padded with trailing "@" characters to allow the entire name to be seen. Chartist-Pro


Previous  Next  Contents