User Tools

Site Tools


action:Get_Touch_Bar_Selection

Get Touch Bar Selection Action

The Get Touch Bar Selection action (v8+) lets you display a set of buttons in the Touch Bar and process the result.

The buttons are separated by vertical bars (|) just like the Prompt for User Input Popup fields. So, for example F__Fail|C__OK|B__Good|A__Excellent would display the four buttons Fail, OK, Good, Excellent and return a value of F, C, B or A.

Note that unlike the Prompt for User Input Popup fields, there are no separators and no concept of the initially selected field.

Output of Results

The resulting button can be:

  • Ignored.
  • Displayed in a floating window.
  • Displayed briefly in a Notification.
  • Displayed large across the screen.
  • Typed in to the current selection.
  • Pasted in to the current selection.
  • Saved to a variable.
  • Saved to the system or a Named Clipboard.

See Also

Actions

action/Get_Touch_Bar_Selection.txt · Last modified: 2021/10/08 02:17 by peternlewis