The following constants can be used anywhere in macros or scripts in place of the actual values.
If you are retrieving the value of a property or parameter, scripts or macros will return the integer value, whereas Inspector will display the constant equivalent.
When using constants in the script editor, each constant must be prefaced by nl.
Date & Time constant (macro editor) |
Date & Time constant (script editor) |
Description |
DaySunday |
nlDaySunday |
Sunday. |
DayMonday |
nlDayMonday |
Monday. |
DayTuesday |
nlDayTuesday |
Tuesday. |
DayWednesday |
nlDayWednesday |
Wednesday. |
DayThurday |
nlDayThurday |
Thursday. |
DayFriday |
nlDayFriday |
Friday. |
DaySaturday |
nlDaySaturday |
Saturday. |
FormatConnection |
nlFormatConnection |
Connection date format. |
FormatSystem |
nlFormatSystem |
System date format. |
FormatUser |
nlFormatUser |
User date format. |
IntYears |
nlIntYears |
Years. |
IntQuarters |
nlIntQuarters |
Quarters. |
IntMonths |
nlIntMonths |
Months. |
IntWeeks |
nlIntWeeks |
Weeks. |
IntDays |
nlIntDays |
Days. |
IntHours |
nlIntHours |
Hours. |
IntMinutes |
nlIntMinutes |
Minutes. |
IntSeconds |
nlIntSeconds |
Seconds. |
© 2004-2021 looksoftware. All rights reserved.