This has been working in previous versions of KM, but now with version 11 it's showing me this error: Action 13787497 failed: File action failed because destination is not a full path (null)
I have other macros that are similar and all of them stopped working with version 11.
The macro is just that action, nothing else.
EDIT: Here's what I noticed: if I just have a Finder window without anything selected, I get the error. If I select a folder in that same window, the .rtf file is copied as expected, but to the main window, not to the folder I selected, which is weird. If I select another type of file, I get the error as well.
So for example let's say my front window is ~/Documents
If nothing is selected: error
If I select a folder, for example ~/Documents/New Folder, the .rtf file is copied to ~/Documents, not ~/Documents/New Folder
If I select any other file inside ~/Documents (such as an image, text, audio, etc, that's NOT a folder): error
I figured it out. I am using Raycast to trigger the macro and when it runs, KM sees Raycast as the front window. I added an action to Activate Finder before copying the file and it's working now. It's weird that this is happening now with version 11, but with version 10 it was never an issue.
But with version 10 of KM this was not an issue. Only now that I updated to version 11.
But I figured it out. Check my previous "reply".
I just needed an action to activate Finder before copying the file
Thanks for sharing that link and confirming this is indeed a "bug".
For now I'm only experiencing this with these macros (or at least that's the first time I'm noticing it with my most common macros), so I will use the workaround and keep version 11 installed until Peter releases the fixed version.