A list of commonly used aliases will be provided with MapInfo Pro. The user-modifiable list will initially be created from an internal hard-coded list and will be saved to the file %APPDATA%\MapInfo\MapInfo\Professional\<current_version>\SmartTextAliases.xml the first time you use an alias in a text frame. The initial list contains the following aliases:
Alias | Expression | Description |
---|---|---|
Author |
"Your name" |
Originator's name. |
Company |
"Your company name" |
Company name. |
Computer |
Env$("COMPUTERNAME") |
Computer name. |
Copyright |
""Copyright © ""+Year(CurDate()) |
Copyright notice using current year. |
Date |
FormatDate$(CurDate()) |
Default date format. |
ItemName |
LayoutItemInfo(CurContext(1),CurContext(3),14) |
Displays the frame's Name property |
LongTime |
FormatTime$(CurTime(), ""h:mm:ss tt"") |
Displays hours, minutes, seconds and AM/PM. |
MIProVersion |
SystemInfo(19) |
Full version number of the currently running MapInfo Pro. |
Page |
LayoutInfo(CurContext(1),12) |
Display the current Layout page number. |
Pages |
LayoutInfo(CurContext(1),11) |
Display the total number of Layout pages. |
ShortTime |
FormatTime$(CurTime(), ""HH:mm"") |
Displays hours, minutes in 24-Hour notation. |
Time |
FormatTime$(CurTime(), ""h:mm tt"") |
Displays hours, minutes and AM/PM. |
User |
Env$("USERNAME") |
Current user's name |