AQT's bluetooth widgets are a little out of date and don't seem to be working properly. Unfortunatley I don't have these devices to test my widgets against so I'll need help to fix these up
Post any discussion about AQT's bluetooth widgets, I'd especially appreciate detailed info about their behaviour and outputs
The Bluetooth widget for Airpods Pro doesn't seem to be working for me. I followed the instructions provided and it's unable to find the device. I'm running Big Sur 11.1 on M1 Macbook Pro.
Known issue for big sur, currently working to fix it.
If you would like, you can jump on the AquaTouch discord to track progress / beta test (i'm making these widgets without actual AirPods to test it with, so I'm kind of coding blind)
--Toggle Airpods Bluetooth connection in Big Sur
set AirpodsName to "Airpods"
tell application "System Events"
tell application process "ControlCenter"
repeat with tElement in menu bar items of menu bar 1
if (exists attribute "AXTitle" of tElement) then
if value of attribute "AXTitle" of tElement = "Bluetooth" then
set theBar to tElement
tell theBar
click
end tell
set tElements to entire contents of window 1
repeat with i from 1 to count of tElements
set tElement to item i of tElements
if (title of tElement contains AirpodsName) then
tell tElement
click
end tell
exit repeat
end if
end repeat
tell theBar
click
end tell
exit repeat
end if
end if
end repeat
end tell
end tell