@GoldenChaos Thanks so much for these amazing presets. Would you be able to share with me the apple script for toggling Bluetooth on and off?
Absolutely! You can grab it at any time from the BTT config window under the "Menu Bar" conditional activation group:
tell application "System Events" to tell process "SystemUIServer" set bt to (first menu bar item whose description is "bluetooth") of menu bar 1 click bt tell menu of bt if exists menu item "Turn Bluetooth On" then click menu item "Turn Bluetooth On" else if menu item "Turn Bluetooth Off" exists then click menu item "Turn Bluetooth Off" else key code 53 --escape end if end tell end tell
And the code that detects if Bluetooth is on or off:
try do shell script "system_profiler SPBluetoothDataType | grep -i \"Power: On\"" on error return false end try
Thanks so much for your quick response!
And if this is too much don’t worry at all, and I apologize in advance if I am imposing. But is it possible to update the wifi script to be able to actually chose a specific wifi name (obviously I would have to put in the wifi network name).
Thanks for your consideration, again if this is a silly request no worries at all, Goldenchaos presets are amazing and I really appreciate it!
The wifi script in GC just toggles wifi on and off. I'm sure it's possible to have it select a specific network, but you'd have to write that part yourself! Or have someone in the community give it a whirl. I'll add it to my list of things to eventually tackle