Me and @noisneil are trying a macro for Logic Pro X where it copies a Finder's file path (or the file itself, there's also that option) to the system clipboard, then goes back to Logic and pastes it to create a new track with those settings. This method works as long as I don't hit CMD+C to copy something inside Logic (such as MIDI or audio region).
Once I copy something to the clipboard, the macro runs, but then pastes that other thing I copied (MIDI / Audio region) instead of the Finder's file, even though the Finder's file show up as level 0 inside the clipboard history, so it's the one at the top.
Me and Neil got to the conclusion that this is probably because Logic may have some kind of "internal clipboard" and that is prioritized over the System Clipboard. I even tried using a Named Clipboard, but no luck.
Is there a way to run some kind of script or any other solution to clear that internal clipboard, if this is even a thing?