For some reason, one of my "Show Custom Context Menu (NEW)" items is sending the wrong action when the finder is active. When any other app is active it's fine. For some reason, this trigger opens the Finder Recents folder when the finder is active.
Do you have any overrides configured for Finder specifically?
I might not have fully understood what the context menu is/should be triggering. Is it triggering a keyboard shortcut? If so, is that shortcut maybe configured specifically for Finder?
Hi sorry to be a pain on this one. I am gearing up to add many of my actions into a custom context menu as part of a new workflow, but keep running into the same intermittent issue. Is there any way I can share access to my set for troubleshooting help?
So it seems it's probably something unrelated to our machines. So far this is what my testing shows:
When in MacOS Desktop Space #1 and finder is not in focus, the actions will not run but all of them will show up in BTT's "Recently Used". When I say all of them, I mean that I have multiple trigger chains and the chains are showing up correctly (and at the blink of an eye, despite having many "Delay" actions) despite no actions being run.
When in any other MacOS Desktop Space other than #1, regardless of whether finder is in focus, running the action causes a new finder window (Finder "Recents") to open. In this case, my trigger chains will show up in Recently Used; the only thing that shows up is the invocation of the Custom Context Menu.
Can you reproduce Andreas?
Happy to provide you with whatever you need. Let me know.
I think the problem is that in your cases BTT can't get the currently active window (because if I understood correctly there is none)
The context menu action needs to activate the "previously" active window after it executed (because the context menu belongs to BTT, and BTT is usually not the target app of the action). If there is no active window, BTT tries to activate the previous active app, but then Finder automatically opens a new window if it doesn't have any open windows yet.
I'll add some special logic for these usecases where Finder is the active app but no windows are open.