I've been using BTT for a few weeks, it's excellent.
I was wondering if anyone could help me achieve this: I want a button on the Touch Bar that sets my Macbook's display brightness to a specific value, in my case, to 0 (this is different than putting it to sleep).
I figured I need an Apple Script for this, however I was unable to create one. I found this thread: "Brightness Up (Small Step)" and "Brightness Down (Small Step)" there are some hints, and probably by using or modifying one of those scripts, I would be able to create my own.
Could anyone give me a hand? Thank you!