I tried another script for something else and it also did nothing but when I test the action through KM by hitting Try it works fine. I’m not sure why shortcuts doesn’t run the scripts in KM in my device! Any idea?
I'm having trouble getting this to work. Specifically, the "New Tab" action. When I run the macro it opens the proper folder, but not in a new tab. Yet when I try the "New Tab" action all by itself with "Try Action" it opens a new tab just fine. The upshot is that when I try to open several new folders within a single window each in their own tab, the macro opens them one by one in the same tab, leaving me with just the final folder opened and only one tab. I'm at a loss as to what else to try. (macOS 10.15.7 and KM 9.0.6).
Ok, figured it out. I had to insert a "Pause Until" action to pause the macro until the Finder window title matched the folder name I had opened, and all is well. Thanks for the head start!