AQT FAQ: Fixing AQT's Bluetooth Widgets

Fixing the Bluetooth Widgets

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

Thanks all!

Hello,
can you please fix the Beats battery script? It does not work properly: it is shown in this way.

The correct battery % is 60, but it show also another number.

Thank you so much

1 Like

I'll get back to this for further discussion. I'm quite busy right now so AQT progress is slowed down

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)

Maybe this can help for Big Sur:

--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
Imprint | Privacy Policy