Text_Fields
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| Text_Fields [2019/07/01 05:08] – [Text Fields] peternlewis | Text_Fields [2022/12/01 03:35] (current) – ccstone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Text Fields ====== | + | ====== Text and Numeric |
| - | Keyboard Maestro has two very distinct types of fields: | + | Keyboard Maestro has two very distinct types of fields: |
| + | |||
| + | - Most text fields | ||
| + | - Most numeric fields | ||
| + | |||
| + | ===== Text Fields ===== | ||
| + | |||
| + | Text fields offer an area where the user can enter any text, including [[manual: | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | You can use a calculation | ||
| + | |||
| + | In most text fields, you can select the Gear BUTTON{{{⚙}}} popup menu to set processing options. | ||
| + | |||
| + | While editing a text field, a small BUTTON{{{T}}} indicator can be seen in the top right corner of the field. | ||
| + | |||
| + | **For details, see the [[manual: | ||
| ===== Numeric Fields ===== | ===== Numeric Fields ===== | ||
| Line 25: | Line 42: | ||
| You can insert functions into numeric fields using the *Edit ➤ Insert Function* menu. If you hold the option key down while selecting a function, you will get help on that function (from this wiki). | You can insert functions into numeric fields using the *Edit ➤ Insert Function* menu. If you hold the option key down while selecting a function, you will get help on that function (from this wiki). | ||
| - | ===== Text Fields ===== | + | While editing a text field, a small BUTTON{{{C}}} indicator |
| - | + | ||
| - | Text fields, on the other hand, start out larger. They may be single line, or multi-line, and may expand to more lines to fit (within limits) the content. Text token fields process [[:Tokens|text tokens]] which are marked with percents, like *%CurrentClipboard%* or *%Variable%My Variable%* and typically (but not always) have an Insert Token pull down menu. They also process backslash characters (eg `\r`, `\n`, `\t`, etc) (except in regular expression fields). Text fields can include the values of variables by using the Variable token, eg: | + | |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | You can use a calculation | + | |
| - | + | ||
| - | You can insert text tokens into text fields using the *Edit ➤ Insert Token* menu. If you hold the option key down while selecting a token, you will get help on that token (from this wiki). | + | |
| - | Text token fields also process %NN% or %NNNN% or %NNNNNN% as arbitrary hex unicode characters (eg %41% is an A, %01F300% is 🌀), and (except for regular expression fields) process backslashed characters \a, | + | ===== Variable Fields ===== |
| - | Text tokens can also include | + | Variable fields are similar to text fields, except they expect |
| - | In most text fields, you can select (in the BUTTON{{{⚙}}} menu) whether to process normally, or just tokens (not backspashed characters) or do no text processing at all. Alternatively, | + | While editing a text field, a small BUTTON{{{V}}} indicator can be seen in the top right corner of the field. |
| ===== Script Fields ===== | ===== Script Fields ===== | ||
Text_Fields.1561957727.txt.gz · Last modified: by peternlewis
