So, I have this great piece of code that displays notifications and the handoff status of some of my apps right in my Touch Bar. I gave an icon with a red dot as standard icon, and the normal icon as secondary icon that displays when the widget returns " ". For handoff, I created the icons by myself and added them into the script by using base64. Here is what it looks like: New Mail, and handoff for the iPhone in messages.
Now this works great with Messages, but I encounter some trouble with Mail as all the results just displays a red dot (basically do not have " " as result and keep the red dot icon so).
Notes is particularly messed up…
With handoff activated on the iPhone it just disappears, with handoff activated fro the iPad it turns just totally blue (what is the standard background, but then why is there no icon - it's saved independently to the script).
Maybe some of you could give me a little hint on what's messing up my script? Thanks already!
Find attached a preset with the scripts (can't post the scripts only due to number of character limitation), with the messages, notes, and mail widgets. Once I understood where I'm wrong I hope being able to extrapolate them also to Safari, reminders, and PDF Expert by myself!
Handoff Preset with messing icons.bttpreset (810.2 KB)
@Andreas_Hegenberg: maybe this is a trouble in the latest alphas? Or did I just copy-paste in an incorrect way what Base64 gave me (I chose the "For use in img elements"). Thanks once more