# GoldenChaos-BTT Support and Feedback Thread

**URL:** <https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196>\
**Category:** Setup/Preset Sharing\
**Tags:** bug, feature-request\
**Created:** [November 23, 2018, 10:56pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196 "2018-11-23T22:56:21Z")\
**Posts on this page:** 20\
**Page:** 74

<div class="post-metadata">

**Author:** ![hitscan](https://community.folivora.ai/letter_avatar_proxy/v4/letter/h/35a633/32.png) [@hitscan](https://community.folivora.ai/u/hitscan)\
**Post date:** [May 21, 2019, 10:20am UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1463 "2019-05-21T10:20:26Z")

</div>

GoldenChaos hides constantly and I have to click on "Your custom touchbar is currently hidden" in BTT to re-enable it. Is this normal behavior?

---

<div class="post-metadata">

**Author:** ![GoldenChaos](https://community.folivora.ai/user_avatar/community.folivora.ai/goldenchaos/32/23617_2.png) [@GoldenChaos](https://community.folivora.ai/u/GoldenChaos)\
**Post date:** [May 21, 2019, 12:53pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1464 "2019-05-21T12:53:04Z")

</div>

Definitely not normal, but I genuinely have no idea why that would be happening o\_O perhaps @Andreas_Hegenberg knows.

---

<div class="post-metadata">

**Author:** ![kurktchiev](https://community.folivora.ai/user_avatar/community.folivora.ai/kurktchiev/32/1474_2.png) [@kurktchiev](https://community.folivora.ai/u/kurktchiev)\
**Post date:** [May 21, 2019, 4:10pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1465 "2019-05-21T16:10:37Z")

</div>

I am riding the struggle bus with GC enabled. My battery drains at a ridiculous rate.

 ![27%20AM](https://community.folivora.ai/uploads/default/original/2X/5/58fd3bafe1d697da1808390043a6508f7b225d2e.jpeg) the AVG energy usage is never below 30 (whatever units thats being mesured in). Its so bad I have to disable BTT basically when I am not tethered to the power cord ☹ any thoughts?

---

<div class="post-metadata">

**Author:** ![GoldenChaos](https://community.folivora.ai/user_avatar/community.folivora.ai/goldenchaos/32/23617_2.png) [@GoldenChaos](https://community.folivora.ai/u/GoldenChaos)\
**Post date:** [May 21, 2019, 5:47pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1466 "2019-05-21T17:47:00Z")

</div>

Is this on the latest experimental version? If not, give it a shot - lots and lots of optimizations that aren't yet in the stable release. It's pretty stable so I recommend giving it a shot, I'm just working out the final features and polish!

---

<div class="post-metadata">

**Author:** ![kurktchiev](https://community.folivora.ai/user_avatar/community.folivora.ai/kurktchiev/32/1474_2.png) [@kurktchiev](https://community.folivora.ai/u/kurktchiev)\
**Post date:** [May 21, 2019, 6:27pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1467 "2019-05-21T18:27:06Z")

</div>

Yes, sorry I didn’t mention this. I am on latest experimental for both GC and BTT. I have been carrying over my settings since last stable basically. I tried doing a full reset of GC yesterday and redid my settings but still nada and seeing the avg of 30 energy impact

---

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [May 21, 2019, 7:15pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1468 "2019-05-21T19:15:30Z")

</div>

## Audio AirPlay devices

This is super easyCheck out the C3 version of [my preset](https://community.folivora.ai/t/caliguvara-c3-anki-flashcards-pomodoro-airplay-audio-and-much-more/6996), you'll find an "AirPlay" (Audio only) group there.

The group opens through a button that displays the current output device, and if this is an AirPods Device displays the battery status in the line below.

 ![TouchBar%20model](https://community.folivora.ai/uploads/default/original/2X/f/f6bae252941d8b20f24e2b2f3c9b81b9b4e5087b.jpeg)

 ![TouchBar%20model%202](https://community.folivora.ai/uploads/default/original/2X/5/5ffb711d04e923df5de68ba2f562425bd8b0ca5c.jpeg)

> **The Script to find the connected device (used by myself to open the group)**
>
> ```
> --GET STORED NAME
> 
> tell application "BetterTouchTool"
> 
> --attempt to get variable
> 
> try
> 
> set LclAirPodsName to get_string_variable "AirPodsWg_DevceName"
> 
> end try
> 
> end tell
> 
> --END GET STORED NAME
> 
> set returnValue to {}
> 
> tell application "iTunes"
> 
> set AirPlayName to name of the first AirPlay device whose selected is true
> 
> if AirPlayName contains LclAirPodsName then
> 
> set returnValue to (AirPlayName &amp; (checkBattery() of me)) as string
> 
> else if AirPlayName contains "Computer" then
> 
> set returnValue to (AirPlayName &amp; (checkStatus() of me)) as string
> 
> else
> 
> set returnValue to AirPlayName
> 
> end if
> 
> return returnValue
> 
> end tell
> 
> on checkStatus()
> 
> --GET STORED NAME
> 
> tell application "BetterTouchTool"
> 
> --attempt to get variable
> 
> try
> 
> set LclAirPodsName to get_string_variable "AirPodsWg_DevceName"
> 
> end try
> 
> end tell
> 
> --END GET STORED NAME
> 
> --set myString to button returned of (display dialog "Connected?" buttons {"Yes", "No"})
> 
> --set myString to "name: DR-BT101 Connected: " &amp; myString
> 
> (*uncomment line below when done testing*)
> 
> set myString to do shell script "system_profiler SPBluetoothDataType"
> 
> --initial check if it's not even there
> 
> if myString does not contain LclAirPodsName then
> 
> return " "
> 
> else
> 
> --find out if connected/disconnected
> 
> set AppleScript's text item delimiters to "name:"
> 
> set myList to the text items of myString --each item of mylist is now one of the devices
> 
> set numberOfDevices to count of myList
> 
> set counter to 1
> 
> repeat numberOfDevices times --loop through each devices checking for Connected string
> 
> if item counter of myList contains LclAirPodsName then
> 
> if item counter of myList contains "Connected: Yes" then
> 
> return checkBattery()
> 
> else if item counter of myList contains "Connected: No" then
> 
> return " "
> 
> else
> 
> display dialog "Error Parsing" --this shouldn't happen
> 
> end if
> 
> end if
> 
> set counter to counter + 1
> 
> end repeat
> 
> end if
> 
> end checkStatus
> 
> on checkBattery()
> 
> set OUTPUT1 to do shell script "
> 
> OUTPUT1='';
> 
> BLUETOOTH_DEFAULTS=$(defaults read /Library/Preferences/com.apple.Bluetooth);
> 
> SYSTEM_PROFILER=$(system_profiler SPBluetoothDataType);
> 
> MAC_ADDR=$(grep -b2 \"Minor Type: Headphones\"&lt;&lt;&lt;\"${SYSTEM_PROFILER}\"|awk '/Address/{print $3}');
> 
> CONNECTED=$(grep -ia6 \"${MAC_ADDR}\"&lt;&lt;&lt;\"${SYSTEM_PROFILER}\"|awk '/Connected: Yes/{print 1}');
> 
> BLUETOOTH_DATA=$(grep -ia6 '\"'\"${MAC_ADDR}\"'\"'&lt;&lt;&lt;\"${BLUETOOTH_DEFAULTS}\");
> 
> BATTERY_LEVELS=(\"BatteryPercentCombined\" \"HeadsetBattery\" \"BatteryPercentSingle\" \"BatteryPercentRight\");
> 
> if [[\"${CONNECTED}\"]];
> 
> then
> 
> for I in \"${BATTERY_LEVELS[@]}\";
> 
> do
> 
> declare -x \"${I}\"=\"$(awk -v pat=\"${I}\" '$0~pat{gsub (\";\",\"\"); print $3}'&lt;&lt;&lt;\"${BLUETOOTH_DATA}\")\";
> 
> [[! -z \"${!I}\"]] &amp;&amp;
> 
> OUTPUT1=\"${OUTPUT}$(awk '/BatteryPercent/{print substr($0)}'&lt;&lt;&lt;\"${I}\")${!I}%\";
> 
> done;
> 
> printf \"%s\" \"${OUTPUT1}\";
> 
> fi"
> 
> set OUTPUT2 to do shell script "
> 
> OUTPUT2='';
> 
> BLUETOOTH_DEFAULTS=$(defaults read /Library/Preferences/com.apple.Bluetooth);
> 
> SYSTEM_PROFILER=$(system_profiler SPBluetoothDataType);
> 
> MAC_ADDR=$(grep -b2 \"Minor Type: Headphones\"&lt;&lt;&lt;\"${SYSTEM_PROFILER}\"|awk '/Address/{print $3}');
> 
> CONNECTED=$(grep -ia6 \"${MAC_ADDR}\"&lt;&lt;&lt;\"${SYSTEM_PROFILER}\"|awk '/Connected: Yes/{print 1}');
> 
> BLUETOOTH_DATA=$(grep -ia6 '\"'\"${MAC_ADDR}\"'\"'&lt;&lt;&lt;\"${BLUETOOTH_DEFAULTS}\");
> 
> BATTERY_LEVELS=(\"BatteryPercentCombined\" \"HeadsetBattery\" \"BatteryPercentSingle\" \"BatteryPercentLeft\");
> 
> if [[\"${CONNECTED}\"]];
> 
> then
> 
> for I in \"${BATTERY_LEVELS[@]}\";
> 
> do
> 
> declare -x \"${I}\"=\"$(awk -v pat=\"${I}\" '$0~pat{gsub (\";\",\"\"); print $3}'&lt;&lt;&lt;\"${BLUETOOTH_DATA}\")\";
> 
> [[! -z \"${!I}\"]] &amp;&amp;
> 
> OUTPUT2=\"${OUTPUT}$(awk '/BatteryPercent/{print substr($0)}'&lt;&lt;&lt;\"${I}\")${!I}%\";
> 
> done;
> 
> printf \"%s\" \"${OUTPUT2}\";
> 
> fi"
> 
> return &amp; "
> 
> " &amp; "Ⓛ" &amp; OUTPUT2 &amp; " Ⓡ" &amp; OUTPUT1
> 
> end checkBattery
> 
> --Code by @Caliguvara and @Zikade from MacTechNews.de
> 
> ```

> **Script to display an AirPlay Device (needs to be repeated \*n\* times, returns the names of the devices)**
>
> ```
> tell application "iTunes"
> set listOfAirPlayNames to (get name of every AirPlay device)
> set AirPlayDevice to the first item of listOfAirPlayNames
> return AirPlayDevice
> end tell
> --code by @Caliguvara
> 
> ```
> 
> You have to change the third line to `second item`, `third item`,… n times.

Only bugger for now, I return a variable, not a string, so the Widget won't be able to tell you if several AirPlay Devices are connected. More information in [this](https://www.mactechnews.de/forum/discussion/Script-Name-des-genutzten-AirPlay-Devices-337355.html) [MacTechNews.de](http://MacTechNews.de) discussion.

> **Script to connect to a desired AirPlay Device**
>
> ```
> tell application "iTunes"
> set listOfAirPlayNames to (get name of every AirPlay device)
> set chosenAirPlayName to the second item of listOfAirPlayNames
> set current AirPlay devices to AirPlay device chosenAirPlayName
> end tell
> --code by @Caliguvara
> 
> ```
> 
> Of course you have to change the third line to `second item`, `third item` in order to adjust them to their respective widget.

Take a look into it! Would be happy to hear your opinion about it 🙂

* * *

## Mail

Another question halfway OT - do you know a mail program that works with **apple script**? My idea is to use the email notifications of Folivora to display notifications from the community in the Touch Bar without spamming my main mail app…

---

<div class="post-metadata">

**Author:** ![yuuiko](https://community.folivora.ai/user_avatar/community.folivora.ai/yuuiko/32/31891_2.png) [@yuuiko](https://community.folivora.ai/u/yuuiko)\
**Post date:** [May 22, 2019, 9:32am UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1469 "2019-05-22T09:32:39Z")

</div>

@Caliguvara Whoa, could I use this for AQT?

---

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [May 22, 2019, 10:19am UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1470 "2019-05-22T10:19:54Z")

</div>

For sure 🤷🏻‍♂️

---

<div class="post-metadata">

**Author:** ![unfunfionn](https://community.folivora.ai/letter_avatar_proxy/v4/letter/u/b3f665/32.png) [@unfunfionn](https://community.folivora.ai/u/unfunfionn)\
**Post date:** [May 23, 2019, 1:15pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1472 "2019-05-23T13:15:37Z")

</div>

Are there issues with the settings dialog in the latest GC experimental build in BTT 2.854? None of the toggles work for me anymore. There's a pressed state, but they don't move.

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [May 23, 2019, 1:25pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1473 "2019-05-23T13:25:40Z")

</div>

I think I might have broken it 🙂 WIll upload a fixed version in a minute.

// fixed in BetterTouchTool v2.862 which is currently uploading

---

<div class="post-metadata">

**Author:** ![unfunfionn](https://community.folivora.ai/letter_avatar_proxy/v4/letter/u/b3f665/32.png) [@unfunfionn](https://community.folivora.ai/u/unfunfionn)\
**Post date:** [May 23, 2019, 2:05pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1474 "2019-05-23T14:05:31Z")

</div>

Excellent, all good again. Thanks for the quick fix 🙂

---

<div class="post-metadata">

**Author:** ![alex-w-k](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/c6cbf5/32.png) [@alex-w-k](https://community.folivora.ai/u/alex-w-k)\
**Post date:** [May 23, 2019, 8:40pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1475 "2019-05-23T20:40:58Z")

</div>

Hey, I think I've made an OmniFocus tasks group similar to the Things tasks group, but how do you make the right side buttons go away after you open a new group, also how can I contribute what I've made? Do you take PRs anywhere?

---

<div class="post-metadata">

**Author:** ![GoldenChaos](https://community.folivora.ai/user_avatar/community.folivora.ai/goldenchaos/32/23617_2.png) [@GoldenChaos](https://community.folivora.ai/u/GoldenChaos)\
**Post date:** [May 23, 2019, 9:19pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1476 "2019-05-23T21:19:16Z")

</div>

If you paste the code for your widgets in a new thread in this subforum (you can title it "OmniFocus Support" or something similar), I'll tidy things up and add it to the next release!

That also goes for anything else you'd like to contribute 🙂 I know it's not as simple as a pull request but it works, haha.

---

<div class="post-metadata">

**Author:** ![wowthatisrandom](https://community.folivora.ai/user_avatar/community.folivora.ai/wowthatisrandom/32/693_2.png) [@wowthatisrandom](https://community.folivora.ai/u/wowthatisrandom)\
**Post date:** [May 26, 2019, 2:08pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1477 "2019-05-26T14:08:12Z")

</div>

Is it possible to add "reopen" command to dock items?" This allows the app to come to the front even when the app has been minimized.

example:

else  
tell application "Messages" to reopen  
tell application "Messages" to activate  
end if

---

<div class="post-metadata">

**Author:** ![kurktchiev](https://community.folivora.ai/user_avatar/community.folivora.ai/kurktchiev/32/1474_2.png) [@kurktchiev](https://community.folivora.ai/u/kurktchiev)\
**Post date:** [May 28, 2019, 2:03pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1478 "2019-05-28T14:03:43Z")

</div>

@GoldenChaos @Andreas_Hegenberg any thoughts on my energy usage post?

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [May 28, 2019, 2:10pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1479 "2019-05-28T14:10:51Z")

</div>

Which version of GoldenChaos are you using?

---

<div class="post-metadata">

**Author:** ![kurktchiev](https://community.folivora.ai/user_avatar/community.folivora.ai/kurktchiev/32/1474_2.png) [@kurktchiev](https://community.folivora.ai/u/kurktchiev)\
**Post date:** [May 28, 2019, 2:17pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1480 "2019-05-28T14:17:06Z")

</div>

latest experimental of both GC and BTT

---

<div class="post-metadata">

**Author:** ![Dylan\_Bertwell](https://community.folivora.ai/user_avatar/community.folivora.ai/dylan_bertwell/32/6105_2.png) [@Dylan\_Bertwell](https://community.folivora.ai/u/Dylan_Bertwell)\
**Post date:** [May 29, 2019, 3:33am UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1481 "2019-05-29T03:33:12Z")

</div>

Is the Touch Bar supposed to change when different applications are being used? I set it up and the toucher always shows the same icons.

---

<div class="post-metadata">

**Author:** ![alex-w-k](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/c6cbf5/32.png) [@alex-w-k](https://community.folivora.ai/u/alex-w-k)\
**Post date:** [May 30, 2019, 2:37pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1483 "2019-05-30T14:37:28Z")

</div>

Yes, with this preset, the touchbar should always stay the same, unless you hold down command, alt, or control.

---

<div class="post-metadata">

**Author:** ![GoldenChaos](https://community.folivora.ai/user_avatar/community.folivora.ai/goldenchaos/32/23617_2.png) [@GoldenChaos](https://community.folivora.ai/u/GoldenChaos)\
**Post date:** [May 30, 2019, 5:05pm UTC](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196/1484 "2019-05-30T17:05:44Z")

</div>

@wowthatisrandom will add this when I go through and update my badges with @yuuiko's improved handoff detection 🙂

@Dylan_Bertwell what @alex-w-k said! I'll add that one of the fundamental design principles of GC-BTT is that a keyboard's layout should be consistent and reliable, only changing with explicit user input (explicitly tapping the Touch Bar or using a keyboard shortcut). I think the constantly changing nature of the built-in Touch Bar is what makes it so infuriating to use, because it prevents you from developing muscle memory for the key positions.

[Previous page](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196.md?page=73)

[Next page](https://community.folivora.ai/t/goldenchaos-btt-support-and-feedback-thread/5196.md?page=75)
