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/06/25 12:27] – 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 can be seen in the top right corner of the field. |
| - | 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 [[: | + | ===== Variable |
| - | {{ : | + | Variable fields are similar to text fields, except they expect |
| - | + | ||
| - | You can use a calculation in a text field using the Calculate text token, eg *%Calculate%1+2%*. | + | |
| - | + | ||
| - | You can insert text tokens into text fields using the *Edit ➤ Insert Token* menu. If you hold the option key down while selecting | + | |
| - | Text token fields also process %NN% or %NNNN% as arbitrary hex unicode characters (eg %41% is an A), and (except for regular expression fields) process backslashed characters `\a`, | + | While editing |
| - | + | ||
| - | Text token fields also support (v9.0+) | + | |
| - | + | ||
| - | * `\U` converts everything up to the next `\L` or `\E` to uppercase. | + | |
| - | * `\L` converts everything up to the next `\U` or `\E` to lowercase. | + | |
| - | * `\u` converts the next character to uppercase. | + | |
| - | * `\l` converts the next character to lowercase. | + | |
| - | + | ||
| - | You can combine these into \l\U to make the first character lowercase and the remainder uppercase, or \u\L to make the first character uppercase and the remainder lowercase. \E turns off case conversion. You cannot use \u or \l after \U or \L unless you first stop the sequence with \E. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | To include a percent | + | |
| ===== Script Fields ===== | ===== Script Fields ===== | ||
| Line 75: | Line 75: | ||
| - [[https:// | - [[https:// | ||
| + | |||
Text_Fields.1561465631.txt.gz · Last modified: by peternlewis
