I've configured BTT to "Toggle Bluetooth", so after the first time I've executed the trigger macOS asked me if I'm allowing BTT to control System Settings (or at least this is what I remember, however I have to admit I did not payed much attention to the pop-up, so the message could have been different).
So the toggle works, however I've decided that I would like to not use it and I wanted to revert BTT's control over the macOS' System Settings, however even after I disabled it (like shown on the screenshot) BTT can still toggle bluetooth. @Andreas_Hegenberg, let me know I'm not looking at the correct place:
ps: I've also restarted my MacBook, without result
ps2: Actually 1st I've configured "Enable Airplay Mirroring", but then decided to have "Toggle Bluetooth", but I guess this does not matter since both are under System Settings, right?
What permission BTT/macOS was prompting when I tried to enable "Enable Airplay Mirroring"? Can you try (or someone else) it for the first time to see what was the exact message since I cannot reproduce it anymore, it seems that BTT is having access and therefor it is not asking me.
BTT does not have access to control Bluetooth but it is still able to toggle it:
Ah then maybe the bluetooth permission is only for doing more specific things like connecting to a device. That makes sense as just enabling bluetooth is probably not a security risk.
For Airplay BTT does indeed script System Settings via Apple Script. However the script doesn't work anymore on current macOS versions. I'll check whether I can find a way to get this working again
This is what BTT has been using (not working anymore):
tell application "System Settings"
set current pane to pane "com.apple.preference.displays"
activate
end tell
tell application "System Events"
tell process "System Preferences"
try
click pop up button 1 of window 1
click menu item 3 of menu 1 of pop up button 1 of window 1
end try
end tell
end tell
tell application "System Settings"
quit
end tell
In the pop-up I've initially received there was something about automation or similar, therefor I think it is what I've shared in the 1st screenshot. Are you able to test it on your end to see what it is exactly, for what permissions it is prompting?
No sorry, on my dev system they won't show.
But it was just the standard macOS "App XY wants to automate App XY" message that shows whenever you try to control another app via apple script.
Or maybe I misunderstood, why are you looking for that message?
In case you want to reset all BTT permissions you can use
sudo tccutil reset All com.hegenberg.BetterTouchTool
I'm looking for that message, just to be sure what permissions I've granted. If it was the one shown in the 1st screenshot, then why after I've disable it, it is not prompting me again for it?
I don't want to reset all permissions in order to avoid any unnecessary issues, since this is my work machine.
Yep this is working. Thank you. Just for completeness the message was:
""BetterTouchTool.app" wants
access to control "System
Settings.app". Allowing control
will provide access to documents
and data in "System
Settings.app", and to perform
actions within that app.
Depending on the features you use in
BetterTouchTool it needs to controll
various applications. You can change
these permissions at any time in the
macOS System Settings => Privacy &
Security => Privacy => Automation"