Macros
|
Top Previous Next |
In addition to being able to send special keys, you can substitute Macros in the text of the Sendkeys field to provide more flexible parameters.
Here is the list of currently available Macros:
{ENV=??} Substitue environment variable. Examples of use: Logged in user = {ENV=USERNAME}
{[TIME]} Substitue DATE (see Notation below). Examples of use. The time now is {[TIME]} The time in hhmmss format is {[TIME],hhmmss} Create a unique filename called: {[DATE],yyyyMMdd}{[TIME],hhmmss}.TXT
{[DATE]} Substitue DATE (see Notation below). Examples of use. The date today is {[DATE]} The date yesterday was {[DATE]-1} The date in mm/dd/yy format is {[DATE],MM/dd/yy} The date yesterday in mm/dd/yy format is {[DATE]-1,MM/dd/yy}
Notation Date Notation: d = day M = month y = year Time Notation: h = hour m = minute s = second t = am or pm h = 12 Hour H = 24 Hour
*Note: Month notation must be a capital M not small m.
{[DD]} Substitute the day part of date. We are on day {[DD]} of this month. Tomorrow will be day {[DD]+1} of this month.
{[MM]} Substitute the month part of date.
{[YY]},{[YYYY]} Substitute the year part of date.
{CAPPSON} Turn Caps Lock On
{CAPPSOFF} Turn Caps Lock Off
{RESTORECAPS} Restore caps lock to its previous state before sending keypresses.
|