Describe the bug
I can't get "Show Control Center" to work. It popped up some prompt the first time I tried, which I didn't read in detail. Then, afterwards, the prompt never showed up again and the action never works.
Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
I assigned it to my trackpad's "4 finger swipe left", but I don't think that's related to the bug.
Device information:
Type of Mac: 2019 MacBook Pro 13"
macOS version: Big Sur 11.0.1
BetterTouchTool version: 3.510
Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):
1607447967.980712|xw|disabling touch for internal trackpad (clamshell)|
1607447967.999043|ASL|did show control center|
1607447968.458285|ASL|did show control center|
1607447969.045414|ASL|did show control center|
1607447969.482888|ASL|did show control center|
1607447969.891552|ASL|did show control center|
Seems like BTT thinks that the Control Center showed, but it didn't actually show...
First script worked for me when "Control Centre" was changed to "Control Center". Second script worked fine as well.
However, when in full screen running anything, the script would not trigger the control center to show, unless you moved the cursor to the top of screen and then menu bar showed. When menu bar is visible, it triggers just fine. Is there another script or trigger we can use to temporarily show menu bar if hidden?
Seems like (^ F2) moves focus to menu bar. Currently using this shortcut trigger paired with the control center script together as a temporary fix. Not perfect but works.
tell application "System Events"
tell application process "ControlCenter"
repeat with theItem in menu bar items of menu bar 1
if (exists attribute "AXIdentifier" of theItem) then
if value of attribute "AXIdentifier" of theItem is "com.apple.menuextra.controlcenter" then
click theItem
exit repeat
end if
end if
end repeat
end tell
end tell
Same problem here with the last version of BTT (3.952) : the Show Control Center action never triggers (tried with key combination, mouse, trackpad – triggers work in Live view but never trigger the action).
I use Bartender. When I quit it, it shows the Wi-Fi menu, but when it's running, nothing appears.
If I delete the Wi-Fi menu, the trigger shows the sound menu instead of Wi-Fi.
Second script here works (Bartender on), everything is checked in Automation privacy, and all other actions of BTT work well.
+ When I do setup a trigger with it, it blocks the mouse scroll randomly (might need to do some test to see if it comes from the trigger or the action).
Dirk's script works for me now without any other modifications or issues. But the built in "Show Control Center" BTT option is not working for me whether or not I keep the menu bar hidden. Thanks for the script, hopefully BTT can resolve this!