New version!
This version is massive. It contains the "true" settings implementation, a full refactor with persistent variables and a master script to check and reapply all settings. The end result of all of this is that upgrades should finally be totally seamless, with no loss of settings provided you configured GC-BTT using the built-in settings panel.
Additionally, presets have been completely rebuilt to use this new system. All you have to do is set the persistent variables to your liking, then run the "Check All Settings" trigger. This means that presets can be contained in a single AppleScript now, too - check out the example below.
If you've been holding out on trying experimental versions because you didn't want to lose your settings, this is the version to try.
GoldenChaos-BTT 2.639-3 changelog
- [Settings] Completed transition to persistent variables for all settings
- [Settings] New preset format contained within a single AppleScript
- [Settings] Added "Reapply All Settings" button; tap this after you upgrade to restore your settings from a previous version!
- [Dock Badges] Added Firefox dock badge
- [Calendar] Calendar widget now respects system time format preference
- [bananas] huge shout-out to @oldgreydog, whose initial refactor of the Date/Time settings pretty much single-handedly led to the solution for seamless upgrades. amazing work!
Coming soon
- Fix for Microphone Mute button failing to mute microphone
- Convert empty script widgets to Touch Bar buttons
- New settings UI using floating HTML view
Notes for testers
- Import this version and attempt to restore your settings by tapping "Reapply All Settings" in the GC-BTT Settings menu. Wait for the loading message to disappear (it's pretty slow, so give it a minute), then close GC-BTT Settings to confirm that your settings were reapplied successfully. Report back with results, please!
- If you make a preset using the new preset format, post it here and I'll include it in GC-BTT! I would love to provide a Community Presets section in GC-BTT itself
Sample preset
This is the default preset in the new version. It sets the desired persistent variables and then calls the "Check All Settings" named trigger.
-- Default Settings
-- This is a PRESET script, called from group GC-BTT Settings
tell application "BetterTouchTool"
try
-- Set Escape Key persistent variables
set_persistent_string_variable "escKeyStyle" to "combo"
-- Set Calendar App persistent variables
set_persistent_string_variable "calendarApp" to "fantastical"
-- Set Home Strip persistent variables
set_persistent_string_variable "showBackForward" to "true"
set_persistent_string_variable "showRefresh" to "true"
set_persistent_string_variable "showNewTab" to "true"
-- Set Menu Bar persistent variables
set_persistent_string_variable "showCollapseMenuBar" to "true"
set_persistent_string_variable "showSettings" to "false"
set_persistent_string_variable "showBrowserTabs" to "true"
set_persistent_string_variable "showEmojiPicker" to "true"
set_persistent_string_variable "showCurrentLanguage" to "false"
set_persistent_string_variable "showAppSwitcher" to "false"
set_persistent_string_variable "showConnectGamepad" to "false"
set_persistent_string_variable "showConnectBeats" to "false"
set_persistent_string_variable "showConnectAirPods" to "false"
set_persistent_string_variable "showBluetooth" to "false"
set_persistent_string_variable "showWifi" to "false"
set_persistent_string_variable "showMicrophoneMute" to "true"
set_persistent_string_variable "showVolumeMute" to "false"
set_persistent_string_variable "showVolumeDown" to "true"
set_persistent_string_variable "showVolumeUp" to "true"
set_persistent_string_variable "showBrightnessDown" to "true"
set_persistent_string_variable "showBrightnessUp" to "true"
-- Set Date/Time persistent variables
set_persistent_string_variable "dateSize" to "dynamic"
set_persistent_string_variable "timeFormat" to "12hour"
-- Set Weather Widget persistent variables
set_persistent_string_variable "showWeather" to "dynamic"
-- Set Spotlight Key persistent variables
set_persistent_string_variable "showSpotlight" to "dynamic"
-- Set Siri Key persistent variables
set_persistent_string_variable "showSiri" to "dynamic"
-- Set Notification Center Key persistent variables
set_persistent_string_variable "showNotificationCenter" to "dynamic"
-- Set Dock Badge persistent variables
set_persistent_string_variable "showSafariBadge" to "true"
set_persistent_string_variable "showSafariPreviewBadge" to "false"
set_persistent_string_variable "showChromeBadge" to "false"
set_persistent_string_variable "showChromeCanaryBadge" to "false"
set_persistent_string_variable "showFirefoxBadge" to "false"
set_persistent_string_variable "showFaceTimeBadge" to "true"
set_persistent_string_variable "showiMessageBadge" to "true"
set_persistent_string_variable "showWhatsAppBadge" to "false"
set_persistent_string_variable "showTelegramBadge" to "false"
set_persistent_string_variable "showFranzBadge" to "false"
set_persistent_string_variable "showSkypeBadge" to "false"
set_persistent_string_variable "showSkypeBusinessBadge" to "false"
set_persistent_string_variable "showYakYakBadge" to "false"
set_persistent_string_variable "showChattyBadge" to "false"
set_persistent_string_variable "showCaprineBadge" to "false"
set_persistent_string_variable "showGoofyBadge" to "false"
set_persistent_string_variable "showAppleMailBadge" to "true"
set_persistent_string_variable "showOutlookBadge" to "false"
set_persistent_string_variable "showSparkBadge" to "false"
set_persistent_string_variable "showAstroBadge" to "false"
set_persistent_string_variable "showAirmailBadge" to "false"
set_persistent_string_variable "showPolymailBadge" to "false"
set_persistent_string_variable "showBoxyBadge" to "false"
set_persistent_string_variable "showMailplaneBadge" to "false"
set_persistent_string_variable "showPostboxBadge" to "false"
set_persistent_string_variable "showTrelloBadge" to "false"
set_persistent_string_variable "showSlackBadge" to "false"
set_persistent_string_variable "showDiscordBadge" to "false"
set_persistent_string_variable "showDiscordCanaryBadge" to "false"
set_persistent_string_variable "showTweetbotBadge" to "false"
set_persistent_string_variable "showTwitterBadge" to "false"
set_persistent_string_variable "showTwitchBadge" to "false"
set_persistent_string_variable "showFacebookBadge" to "false"
set_persistent_string_variable "showTumblrBadge" to "false"
-- Refresh the Touch Bar
trigger_named "Check All Settings"
end try
end tell