@pedz, @ccstone, I've had a few cases when a macro would sporadically fail (i.e., move on too quickly) unless a third condition was added.
The text:
%WindowName%1%
is not empty
@ccstone, thanks for the reminder. Here's an updated example that uses the suggested with path specification.
Finder ➤ Show View Options Macro (v10.0.2)
DOWNLOAD Macro File:
Finder ➤ Show View Options.kmmacros (17 KB)
Note: This macro was uploaded in a DISABLED state. It must be ENABLED before it can be run. If it does not trigger, the macro group might also need to be ENABLED.