Is it possible to programmatically get the "text" value of shell script/apple script widgets? I can't seem to find where it's stored. Would be great if we had a get_touch_bar_widget function in addition to the current update_touch_bar_widget function.
@Andreas_Hegenberg Any ideas here? I'd really appreciate it!
You can get any BTT trigger using the "get_trigger" function:
However the value that is computed by a custom Apple Script or the like is not saved. If you want to make that available, store it inside a variable which you can then access (e.g. via set_persistent_string_variable / get_string_variable