BuiltInDisplayBrightness variable doesn’t seem to be working correctly, it’s always -1. Is there anything needed to be set or installed for this variable to work correctly?
Device information:
- Type of Mac: M4 Pro MBP
- macOS version: 15.5
- BetterTouchTool version: 5.670 (and Alpha 5.698)
Any idea why?
Looking at the Variables in the Scripting Settings menu it seems like OutputVolume is also always -1, not working.
@Andreas_Hegenberg what is needed for these variables to work?
unfortunately these can currently only be queried from scripts (java script/apple script), I'll check whether I can make them generally available!
I would like to query them via javascript, but they are always -1
did you use the get_number_variable function?
Yes.
Looking at the Variables & Scripting window they are always -1:
yes, they only return values when called from a script