Hello. First time trying CAG's. I can't get any Action to trigger with the following advanced trigger condition: visible_window_list CONTAINS "Finder". In the Advanced Conditions config window I can see that the conditions returns true (green) or false (red) when I launch a Finder window, though. Also see screenshot
Thanks for your help.
can you describe your exact use case? I assume there is a misunderstanding on what this would do. what does your cag conditions look like?
Thanks. I have a dictation app that when active mutes the Mac sound output device (speakers) when recording. Unfortunately, it restores volume after dictation ended but doesn't unmute the speakers. I can see that in the sound system settings. So I thought I'd use BTT to unmute it as soon as the dictation window disappears. The app displays a recording pop-up/overlay indicating dictation is ongoing. It's started and exited through a keyboard shortcut, current double press fn.
In the cag's configuration I used the ‘Visible Windows Viewer’ function to find the name.
I took that screenshot, when I was trying to make sure it's not the problem of the dictation app. Therefore, it says ‘Finder’. And I also just used a simple action to trigger to show a hud overlay to see if it works at all which it doesn't.
Any idea what is wrong?
Thanks.
from your screenshot I can only see the additional advanced trigger conditions that will be evaluated once your CAG has activated - but first your CAG needs to activate.
Have a look here
Hmm, I have it under the ‘For all Apps’ default group. Just bought BTT today and I'm afraid I don't understand the docs on this properly. I'm under the assumption that the cag cannot under dictation app on the left hand side menu since the app itself does not come to the foreground but a overlay pop-up is displayed then starting dictation through it's keyboard shortcut fn+fn.
So are you saying I have to create a group first? How would I trigger that? Thanks for clearing that up.
CAGs are not the right tool for this.
You could probably make it work using the "Trigger On Change Of Advanced Trigger Conditions" automation:
However to solve this in a proper way more work would be necessary because with just that BTT would constantly need to check the visible windows - which will reduce battery life of your machine.
Maybe you could instead use a trigger in BTT to show the dictation window and then add the predefined action "Wait For Conditions To Become True" for unmuting.
What dictation app are you using?
Thanks. The app is named Spokenly. What you're screenshot shows I could comprehend. This sort of works but the action execution takes about a second to trigger. I guess the Advanced Condition visible_window_list CONTAINS "Spokenly" takes a while to find the Spokenly pop-up. The App seems to support Url schemes but not in the free version I'm using.
This also kind of works but only if I trigger the ‘Wait For Condition’ trigger with a different shortcut prior.
So i haven't found a way to trigger an action as soon as the Spokenly recording overlay disappears from the screen

Do you have another idea perhaps?
Thanks
could be wrong but heres a quick sugguestion: use the NOT (TRUE) function in the advanced conditions instead of IS(TRUE). Keep very thing the same except in change up in the top of the advanced conditions windows and instead of ALL are TRUE change to NONE
Thanks, that helped trigger the action when the Spokenly popup disappears. I was wondering why there was no NOT CONTAINS in the Advanced Conditions code.
So the way I have sort of working now is:
1 - give target app a keyboard shortcut
2 - use that as a regular keyboard shortcut BTT trigger with the unmute action
3 - have the Trigger On Change Of Advanced Trigger named action configured with visible_window_list CONTAINS "Spokenly" and Actions Executed On Change FALSE
Only thing suboptimal is that it takes about 3 seconds to trigger the unmute action. Probably because BTT has to monitor the screen. Can this be optimized by me @Andreas_Hegenberg?
Thanks.
FYI I have not found a better solution so I will mark that post as the solution but feel free to chime in if there's yet a better way.