Hmm. The button to connect my BT earphones isn't working. All I did was to change the "Beats" part into the name of a BT headphone I am using (Revols). But whenever I click on that button, it wouldn't connect to my earphones (of course, after I turned my earphones on...)
use framework "Foundation"
use framework "IOBluetooth"
use scripting additions
set pairedNames to ((current application's IOBluetoothDevice's pairedDevices())'s
valueForKey:"nameOrAddress") as list
set connectedValue to ((current application's IOBluetoothDevice's pairedDevices())'s valueForKey:"connected") as list
set btInfo to {}
set i to 0
repeat with i from 1 to count pairedNames
set btInfo to btInfo & (item i of pairedNames & ", " & item i of connectedValue) as list
end repeat
set i to 0
set deviceConnected to false
repeat with i from 1 to count btInfo
if item i of btInfo contains "Revols" and item i of btInfo contains ", 1" then
set deviceConnected to true
else if item i of btInfo contains "The Temmie Armor" and item i of btInfo contains ", 1" then
set deviceConnected to true
end if
end repeat
return deviceConnected
I double-checked to see if my device is added properly btInfo and pairedNames; my device (My Revols) shows up properly.
One more question by the way: is it possible to tweak the code so that I can track the amount of battery of my non-Beats BT earphones? At this point I see Battery: (no number) because it's not Beats....
Do you have any idea RE the issue I mentioned above that I was discussing with @GoldenChaos?
Seems like there's variables that should be available to the script but are "missing value". I'm happy to try and debug if you can point me in the right direction.
So, not sure if this helps... but I don't actually have the "now playing widget" visible. Just the media controls. Just now I toggled the "now playing" widget visible/invisible, and now the pause/play button is working as expected.
However, this has happened before when I've been fiddling, and at some point when I close/open my laptop or something, the script will return missing value again.
Are these properties only available when the "now playing" widget is visible?
First off. This is amazing and thank you so much for creating it.
I'm having an issue getting Spark email notifications to show up. I clicked on the option within settings but have not been notified at all through the Touch Bar. The other programs like Messages work, but not Spark.
is there a place that lays out plainly all the features, like a manual or tutorial?
I'm having issues when it comes to the AirPods connect feature. The button doesn't appear to be doing anything. I read that the AirPods need to have "AirPods" in the bluetooth name and they are but still nothing.
You can always copy the complete ~/Library/Application Support/BetterTouchTool folder, but in general exporting should work. What exactly doesn't work for you?
exporting works but the settings menu inside GoldenChaos doesn't work after importing, as if i updated BTT without following Golden's instructions by first removing the preset then importing it again and "applying all settings".
Edit: seems i had a corrupt "backup" as i tried with an older one and it worked;However, i did downgrade to 2.645(954).
Hey there! Sorry for the delay to answer your questions:
I use Spark as my primary email client, so I can confirm that they're working! The trouble is probably your Spark settings. You have to enable badges in Spark's preference, and you also need to make sure badges are enabled for Spark in your system notification settings. Check both of these spots and let me know if that solves your issue
An FAQ with solutions to common issues is on the way! Currently, the only documentation/tutorials are in the first post of the release thread, and are pretty much just installation and upgrade instructions.
@Andrew_Sfoglia AirPods can take a few seconds to connect, so please just wait a little bit after pressing the button. If it doesn't work, press it again and it will attempt to connect again - basically, all it does is press the "Connect" button in the Bluetooth menu bar for the first item with "AirPods" in the name.