How to show result of Shortcut in Touch Bar?


I created a simple shortcut with a sum, to test the "Run Shortcut & Show result widget" button.
With everything I tried, nothing works. I only get "Null" as result in the Touch Bar. How do I pass on the result of the sum?

I hope I've explained it clearly! Thanks for the help :smile:

  • Add the following action with your output (variable) at the end of the shortcut:

  • Check the correct output of the shortcut in the Script Editor:

tell application "Shortcuts Events" 
	run shortcut named "Shortcut name"
	-- (or: run shortcut named "Shortcut name" with input "Your Input")
end tell
  • Specify a "Widget Identifier" in the BTT settings. Otherwise the button is sometimes not displayed.
1 Like
Imprint | Privacy Policy