We need to see the macro file in order to fully discover what you're doing...
I would have this macro in a Finder-specific macro group.
You have it set to NOT work if the Finder is frontmost.
We don't know how you're running the macro...
Using 'Try' is fraught with opportunities for mistakes.
I always test with a hotkey trigger until I get the macro working properly.
When posting macros to the Keyboard Maestro forum please use these guidelines:
Always Post a Macro File.
Post the simplest possible macro that illustrates the problem you're having.
Macros often contain tricky little bits that are likely to be missed in a written explanation.
Providing a real and testable example is a courtesy, and if people don't have to reinvent the wheel to test your macro it significantly improves the odds that someone will help you.
Always Post a Macro Image.
Folks generally won't download something they haven't eyeballed first, so an image of the macro is crucial.
If you haven't seen these they're worth a moment of your time:
It was the perfect thing I wanted. After I make it myself, it will be really a study if you can fix it. Thank you for giving me a really wonderful opportunity! You are really wonderful teacher!
If you have time, can I ask you additional question?
I try to making new version macro. I added another dual finder option.
If Finder is running in window, I added another Finder window for the right.
But it doesn't work. Can you tell me what's the cause?