Here is a really useful macro, first suggested to me by Adam Engst - basically, every time the Finder activates, it brings all the Finder windows to the front. Once you've used this macro, you'll find it hard to use a Mac that doesn't do this!
Here is a really useful macro, first suggested to me by Adam Engst - basically, every time the Finder activates, it brings all the Finder windows to the front. Once you've used this macro, you'll find it hard to use a Mac that doesn't do this!
Thanks Peter, have downloaded it, it's running and I may wind up appreciating it like you do. It may wind up replacing the macro I normally use for switching to the Finder:
with the â„âH keystroke not only putting the windows of other applications in the background but disappearing them completely. I've deleted this keystroke from my present version of the macro and will try it without for a while.
I have a couple of questions about this macro as I strive to become a better KM user.
What is the purpose of the conditional? Since the macro is triggered by the Finder activating, wonât the Finder always be at the front? Or can it activate without coming to the front?
Is bringing all the Finder windows to the front by selecting the menu item preferable to the KM Bring Application Windows to Front built-in action?
There are occasions where the Finder (or any application really) can come to the front (activate) and then immediately deactivate. The most obvious and pertinent example of this would be if the Select Menu Item action triggered a menu in the Finder - the net effect of that is to activate the Finder, select the menu, and then switch back to the last application.
Now the problem happens if the Finder activates, and then deactivates, and then the Select Menu Item action executes, and that activates the Finder, selects the menu, and then switches back. But that second activation triggers the macro a second time, so the process repeats. Indefinitely. Which is not good at all. The conditional defends against this case.
Actually, I have no idea why I used the menu instead of the action. One down side of the action would happen in exactly the above case - it would bring the windows of the second application to the front instead of the Finder.
Then I will retain the conditional in my implementation of the macro. Thanks. Youâre right, it is a very useful macro.
O⊠M⊠GâŠ! Soooo glad I came across this. Awesome!!!
I"m very late to the table on this topic, but if The Finder is the app that is in focus (front),
why would you want other windows to replace it, making the Finder not in focus?
Hey Tony,
You're misunderstanding what the macro does.
Reread Peter's post and/or try it out.
The macOS for decades has allowed an application to become frontmost by clicking on a window visible in the background with the mouse, but sometime after OSX came along when windows from other applications obscure that app's windows other than the one clicked they remain obscured.
The old MacOS' behavior was to automatically bring all application-specific windows to the front when that app was activated.
Peter's macro recreates this behavior and makes certain all Finder windows become visible when the user switches to the Finder, and this method may be used with all apps that support multiple windows (that I know of).
-Chris
I agree, and here's why
basically, every time the Finder activates, it brings all the windows to the front.
I took that as bring ALL windows to the front, except Finder. Now I know he is referring to Finder windows only, even though he didn't state it that way.
I have edited the post to explicitly say âall the Finder windowsâ.
Thanks for the feedback.
Late to the party - but this is exactly the kind of stuff that is so useful and something you didn't know you needed until you have it.
Thanks!!