See current progress, submit bugs and requests on github if you wish.
As the userbase for AquaTouch grows, it might get hard to keep track of bugs, suggestions and collaboration here.
I've taken some time to learn GitHub, and I find it is indeed a great way to handle development.
If you have a bug report, feature request or if you have created something useful for AQT, you can now choose between the forums here or by submitting an issue at GitHub!
I'll also be loosely logging progress there so you can follow along as to what i'm up to.
Note: I'm still moving in, so there might not be much there as of now. Gradually things will be added, but issues should work fine for now!
Hi @Dom!
glad to see you again! you're one of the reasons why I keep going.
Youtube widget:
BTT button does show up for me too, I think its an issue with the new CS strip behaviours in BTT @Andreas_Hegenberg. Not sure exactly how to reproduce, will look out for it.
I've been using the preset for a while, but only just made an account on the forum. Ever since updating to 1.5.2, my quick strip has been missing the media button that lets you play/pause things. Here's a screenshot to show you what I mean:
Beyond that, I guess now that I have an account it's my turn to award you with an obligatory compliment on the preset. I've had my eye on it since before I had a touch bar, so I'm not sure what the default even looks like. It is a totally viable replacement that fits into my workflow seamlessly. :)
I already tried updating BTT and everything, but to no avail.
I'm sure this information is easy to find, but while I have your attention are you supposed to have the default preset enabled along with aqua touch or not? Both seem to have their own issues in the latest version and I can't remember how I had it set up before. :P
And of course you can feel free to use anything I said. I'd love to help out any way I can even if it's just through words. And who knows? Maybe eventually I'll get around to figuring out how to modify the preset myself. It's something I've been meaning to do. :)
Ideally it should be fine, but try disabling it and having AQT as master by itself.
It seems like BTT isn't updating the variable that the now playing widget reads.
Try reset all variables in BTT touchbar settings to try reboot the variables system. This will delete AQT variables though so remember your AQT settings. If you use pastecells in Atom or Script Editor, those will be reset too.
I left an incorrect redundancy in the script of the QuickPlay button it seems, The other buttons have correct redundancies.
The core issue is that BTT doesn't seem to be updating the correct variables for you.
This is a BTT side issue, so uh... @Andreas_Hegenberg?
Meanwhile, you can insert this fixed script with correct redundancies into the script of the QuickPlay button:
--Thanks to @springles for his contribution to AQT!
--Posted: https://community.folivora.ai/t/1704/93?u=yyuuiko
try
--@yuuiko: Get User Preference
tell application "BetterTouchTool"
try
set UsrPref_CS_Highlighting to get_string_variable "CS_Highlighting"
end try
end tell
if UsrPref_CS_Highlighting is "ON" then --@yuuiko: only activate if preferred by user.
tell application "BetterTouchTool"
try
set showMediaControls to get_string_variable "BTTCurrentlyPlayingApp"
set playerState to get_number_variable "BTTCurrentlyPlaying"
on error
return 0 -- Don't disappear on error
end try
end tell
if showMediaControls is not missing value then
if playerState is 1.0 then
return 1 --Highlight
else
return 0 --Grey
end if
else
if application "iTunes" is running then
tell application "iTunes"
try
if player state is playing then return 1 --Highlight
if player state is not playing then return 0 --Grey
on error
return 0 --Grey
end try
end tell
else
return 0 --Grey
end if
end if
else
return 0 --Grey
end if
on error
return 0 --if all else fails
end try
I replaced the whole script under the Quick play (highlighting script) category. Honestly, I’ve been nothing but impressed with how responsive you’ve been. You have a life outside of this project, so I kinda feel bad taking so much of your day.
Edit: I totally forgot to mention that as of yesterday I’m running macOS Catalina. It shouldn’t make a difference, but I figured I should mention it nonetheless.
I’m at the dining hall away from my computer at the moment, but I’ll test it as soon as I get back to my dorm. If you haven’t seen my edit above, it exists. Seems we were typing at the same time.
Ah, interesting. The widget does reference iTunes which doesn't exist anymore. The redundancies should take care of that though..... but here's a script with iTunes taken out of it. Try this one:
--Thanks to @springles for his contribution to AQT!
--Posted: https://community.folivora.ai/t/1704/93?u=yyuuiko
try
--@yuuiko: Get User Preference
tell application "BetterTouchTool"
try
set UsrPref_CS_Highlighting to get_string_variable "CS_Highlighting"
end try
end tell
if UsrPref_CS_Highlighting is "ON" then --@yuuiko: only activate if preferred by user.
tell application "BetterTouchTool"
try
set showMediaControls to get_string_variable "BTTCurrentlyPlayingApp"
set playerState to get_number_variable "BTTCurrentlyPlaying"
on error
return 0 -- Don't disappear on error
end try
end tell
if showMediaControls is not missing value then
if playerState is 1.0 then
return 1 --Highlight
else
return 0 --Grey
end if
else
return 0
end if
else
return 0 --Grey
end if
on error
return 0 --if all else fails
end try
Yep. That fixed it. I honestly didn't even realize iTunes had been removed. I suppose it makes sense why that would break that specific button though. Thank you for all the help. If I find anything else that looks funky on the new OS I'll let you know. :)