GoldenChaos-BTT Support and Feedback Thread

I am practically using the app you created well. I hope the bugs are fixed as soon as possible.
thanks !

It was solved after reboot .... haha :sob::joy::pray::sweat_smile:

Yay!!! good to hear I was super stumped haha

Hi @GoldenChaos,

I've found a bug with the reminders widget within AQT (my preset), and it also repeats on GC-BTT. Take a look at the way it handles this:

Are you seperating based on linebreaks?

I am. I'm not very experienced with text parsing/splitting, so it was really a first attempt. How would you fix it?

EDIT: Wait, it's showing the contents of the note... it should not be doing that lol. I swear after the native reminders and calendar widgets come out I hope I never hear the word "icalBuddy" again :joy:

well I've had the same issue with an IT project at school but that was with PHP/HTML and it was more of a storage error rather than a reading error.

I'm even less experienced than you so I woudn't have any idea how to applescript it.

I've been reading the iCalBuddy pages and saw that customisation is possible? maybe set it up so that iCalBuddy does not return the note?

NOTE: i've made an improvement to the widgets where their text is 50% opacity greyed until they load. I'll attatch a video into this post in an edit

Yeah, it's definitely possible, a lot is possible with icalBuddy it's just insanely obtuse. Honestly, it's not worth it. It can't even do basic functionality like open Reminders to the specific reminder, and it doesn't even seem to function properly for a significant portion of users. I know that working with icalBuddy is a dead end, so I'm not currently planning to work on those scripts until the built-in replacements are available.

Well, The fix was simple. Just change the -etp'datetime' to a *:

set uncompletedTasks to do shell script "/usr/local/bin/icalBuddy --sortTasksByDateAscending --noCalendarNames -b ''  -etp '*' uncompletedTasks"

iCalBuddy's man page said that * means exclude everything other than the title. Seems to work on my side.

It would be awesome if somebody would create a separate feature request for a native calendar widget describing what it should be able to do :slight_smile:
I'm not really using calendars often, so I'd be happy to get input here!

:slightly_smiling_face: Calendar and Reminders Widget

I actually don't use calendar actively so more input would be great!

also @GoldenChaos:
I've added 'dim text' while the widget has not been loaded:

I had the same problem again after rebooting.:sob::sob::sob:

Awesome update!!! Just curious, whenever I play a Safari video, the Now Playing widget displays the video source URL as the title. Is there any way to change it to the name of the tab or get rid of it all together?

afaik, that's a macOS bug - High Sierra, specifically. Fixed in Mojave!

@idhun90 noooooooooo does rebooting again fix it again?

Hey there,

first of all thx for this awesome preset!!!! After finding this I started thinking about not using my docking station anymore :joy:

By the way, I've got a little problem. I changed the format for the date/time widget to "dd.MM. H:mm". It works, but in some variants of date and time the widget is too small. I've attached a screenshot. I can't find a parameter to adjust the width for the widget. Am I missing something?

Wow, nice eyes you've got there! That's a bug, will fix in the next version. :slight_smile:

EDIT: Seems to be a BTT bug where the padding on the date/time widget is not applied properly, actually. @Andreas_Hegenberg I've seen this happen periodically. Restarting BTT temporarily fixes the issue but it inevitably happens again. I've ignored it until now because the shifting padding hasn't broken anything, but it seems now that it's cropping the text off.

Not fix..:sob::sob: I don’t know what is problem

How to find the reason...? :sob::joy::sweat_smile:

@Andreas_Hegenberg has just hooked me up with something very nifty: a BetterTouchTool affiliate link! If you purchase BetterTouchTool through this link, I get 25%! If you've been thinking about purchasing BetterTouchTool because of this preset, please consider doing so using this link. :slight_smile:

Behold! The affiliate link: https://a.paddle.com/v2/click/30842/34667?link=1061

I've also added this link to the first post under the donate link.

Thank you @Andreas_Hegenberg! :smile:

I don't disable those widgets, so it doesn't affect me.

I figured out how to handle customizing the date through the normal preset structure! Also, I figured out the logic for hiding/showing the spotlight/siri/Notification Center buttons. Oh, and forward/back/new tab. Will have a big settings update later. :smile:

What I'll do is offer three date formatting options (S/M/L). You'll be able to choose between:

  • Dynamic (changes with menu bar size)
  • Always small
  • Always medium
  • Always large

But you could conceivably copy one of these upcoming date widget formatting scripts and make your own secret date format that applies when you run your preset :wink:

Likewise, Spotlight/Siri/Notification Center will have the following options:

  • Dynamic (only shows on Large menu bar)
  • Always show (will show regardless of menu bar size)
  • Never show (will hide regardless of menu bar size)

The tricky part here will be that if you configure all of these buttons to never show and set the date format to never change, the collapse/expand chevron should also turn itself off if it isn't already. (In fact, it should disable the ability to enable it entirely until at least one dynamic option is checked. Time to use... variables!)

Ooh, looks interesting. I look forward to seeing how it works.

I've tried putting variables in scripts and they don't work. That is, when I wrote my script to change the date/time format 8 times, I put the format at the top as a variable. It didn't do anything (I think it probably bombed out of the try block at the first one).

So, this works:

    tell application "BetterTouchTool"
	try
	-- Update Date/Time widgets
		update_trigger "F0AC6440-624C-417A-A0DB-93BE2A22A7D1" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : \"E d MMM HH:mm\"}}"
		update_trigger "1FC3AEDF-3063-43C2-8A7F-09F43EBF6337" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : \"E d MMM HH:mm\"}}"
		update_trigger "FC2890FE-6258-4994-91CA-E5613B54B9D3" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : \"E d MMM HH:mm\"}}"
		update_trigger "04245966-D18E-42CF-826B-A9BF242964B3" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : \"E d MMM HH:mm\"}}"
		update_trigger "1C13FCEE-2B90-468E-8DF6-8E0B0C4069BB" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : \"E d MMM HH:mm\"}}"
		update_trigger "D37A722D-5DD1-4BF0-B4A7-F828B86A0951" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : \"E d MMM HH:mm\"}}"
		update_trigger "D87F65D6-4661-4826-B57E-80E13181392B" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : \"E d MMM HH:mm\"}}"
		update_trigger "F4137E86-39BD-4975-8B6B-425AD35C4934" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : \"E d MMM HH:mm\"}}"
	end try
    end tell

but this doesn't:

    set format_string to "\"E d MMM HH:mm\""

    tell application "BetterTouchTool"
	try
		-- Update Date/Time widgets
		update_trigger "F0AC6440-624C-417A-A0DB-93BE2A22A7D1" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : " + format_string + "}}"
		update_trigger "1FC3AEDF-3063-43C2-8A7F-09F43EBF6337" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : " + format_string + "}}"
		update_trigger "FC2890FE-6258-4994-91CA-E5613B54B9D3" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : " + format_string + "}}"
		update_trigger "04245966-D18E-42CF-826B-A9BF242964B3" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : " + format_string + "}}"
		update_trigger "1C13FCEE-2B90-468E-8DF6-8E0B0C4069BB" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : " + format_string + "}}"
		update_trigger "D37A722D-5DD1-4BF0-B4A7-F828B86A0951" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : " + format_string + "}}"
		update_trigger "D87F65D6-4661-4826-B57E-80E13181392B" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : " + format_string + "}}"
		update_trigger "F4137E86-39BD-4975-8B6B-425AD35C4934" json "{\"BTTTriggerConfig\" : {\"BTTTouchBarDateFormat\" : " + format_string + "}}"
	end try
    end tell