Hi everyone
I'm trying to make the value of an applescript widget equal to the value of another widget. I don't know much about applescript so I'm heavily relying on the documentations. So far I learned that I can update a widget using the following lines:
tell application "BetterTouchTool"
update_touch_bar_widget "ENTER WIDGET UUID" text "newButtonText"
end tell
However, I am trying to update the text using the text that is already in another script widget, meaning I want something like this:
update_touch_bar_widget "ENTER WIDGET UUID" text VALUEOFANOTHERWIDGET
Is there a way to do this?
Thanks a lot in advance