User Tools

Site Tools


Text_Fields

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
Text_Fields [2015/07/06 03:28]
peternlewis
Text_Fields [2016/02/21 07:08]
AlainLifchitz repair broken internal link
Line 28: Line 28:
  
 You can insert text tokens into text fields using the *Edit ➤ Insert Token* menu. In v7.0+ if you hold the option key down while selecting a token, you will get help on that token (from this wiki). You can insert text tokens into text fields using the *Edit ➤ Insert Token* menu. In v7.0+ 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% as arbitrary hex unicode characters (eg %41% is an A), and (except for regular expression fields) process backslashed characters \a,​\b,​\e,​\f,​\t,​\r,​\n (bell,​backspace,​escape,​form feed,​tab,​return,​line feed).
 +
 +To include a percent in your text, simply double the percent (%%). To include a backslash \ in your text, double the backslash (\\).
  
 Almost every field in Keyboard Maestro actions is either a numeric field or a text token field. The major exceptions are script fields. ​ Scripts are not processed for text tokens, they must access variables through [other means](http://​www.keyboardmaestro.com/​documentation/​6/​scripting.html). Almost every field in Keyboard Maestro actions is either a numeric field or a text token field. The major exceptions are script fields. ​ Scripts are not processed for text tokens, they must access variables through [other means](http://​www.keyboardmaestro.com/​documentation/​6/​scripting.html).
  
-Prior to version 7.0, the Select Menu Item action did not process text tokens, but it had its [[action:Select_Menu_Item|own processing methods]].+Prior to version 7.0, the Select Menu Item action did not process text tokens, but it had its [[action:Select_or_Show_a_Menu_Item|own processing methods]].
Text_Fields.txt · Last modified: 2022/11/30 22:35 by ccstone