These types of macros are used if you have configured plain text templates or the Paste Text action.
<KEY shortcut>
Press the key combination. Keystrokes will be emulated inside the text (see the key identifier list). Use + (the plus sign) to specify a keyboard combination. You can specify a key code in the hexadecimal format by using $ (the dollar sign). For instance, $20 is Space, and $1B is Escape. Sample keyboard combinations:
• | <KEY WIN+R>regedit<KEY Enter> – Start the registry editor. |
• | Login<KEY TAB>password<KEY ENTER> – Enter the login and the password. |
<INPUT>
This tag adds the ability to enter text from the keyboard that will be inserted into the text template.
<SOMEOF>...</SOMEOF>
Select random text from the lists enclosed in the <CS> and </CS> tags. You can embed these macros. Simple examples:
• | <SOMEOF><CS>1</CS><CS>2</CS></SOMEOF> – Inserts “1” or “2”. |
• | <SOMEOF><CS>hi<SOMEOF><CS>1</CS><CS>2</CS></SOMEOF></CS><CS>bye<SOMEOF><CS>1</CS><CS>2</CS></SOMEOF></CS></SOMEOF> – Inserts “hi1”, “hi2”, “bye1”, or “bye2”. |
<POPUP>...</POPUP>
Show popup menu. Select text from the lists enclosed in the <CS> and </CS> tags. You can insert this tag inside each other. Simple example: <POPUP><CS>Hi</CS><CS>Hello</CS></POPUP> – Inserts “Hi” or “Hello”.
<FILE filename>
Inserts text from the specified file (if exists) into the specified position.
<SELECTION>
Inserts the text currently selected in the active application.
<CLIPBOARD>
Inserts the text from the clipboard.
<SCRIPT>
This tag allows you to perform various functions from your JavaScript, for example:
<SCRIPT>
<FILE>Common.js</FILE>
<FUNCTION>DoublingSlashes</FUNCTION>
<PARAM><SELECTION></PARAM>
</SCRIPT>
<DATETIME format>
Inserts date and time in the specified format (see the format list). You can get the date shifted by a certain number of days, weeks, months. Use the following format:
+d, -d, +d1, -d1, +d2, -d2, +d3, -d3, etc. - Shift by one day, two days, three days, and so on. (y - year, w - week, m - month, d - day, h - hour, n - minute)
Note: You can specify the position of the text cursor after the text is pasted by placing | (the pipe character) there.