@Sleepy with KM goes simply everything
I have contacted @Joel via a DM and will explain how to create the KM macro.
It could be that an important setting/requirement for the execution of the AppleScripts in KM is missing
For more information, see the wiki Searching the Forum for Answers section.