@CJK,
When setting a widget/gesture on the Touch Bar, a Hint shows up:
Hint (Advanced):
If you assign the "Run Apple Script In Background" action, BTT will automatically pass the moved percentage to the script. This can be used in Apple Script like this:
on bttWidgetSliderMoved(percentageMoved)
#example to change system volume:
set volume output volume percentageMoved * 100
end bttWidgetSliderMoved
This works fine with audio/volume, but do you know how I could do this with the brightness? It seems a better solution when using the Touch Bar.
Thanks.
Edit: forgot to mention, I tried doing "brightness" instead of volume, but that doesn't work.