How to insert a literal vertical bar (|) in action Prompt?


'a|b' as a whole is what I need.

'\|' doesn't work, and the documentation action:Prompt for User Input [Keyboard Maestro Wiki] doesn't seem to provide related info.

You can put the text into a variable, and then use the variable in the prompt default value, but probably easier is to use the token %7C% which will expand to the | character. So a%7C%b.

Thanks Peter!

1 Like