Applescript works in ScriptDebugger not in KM

Hi all - my first post here, KM is awesome!

Thanks to any help on this!

I have a question (probably very silly, and yes, I checked similar threads) - an applescript to move a selected Finder file to a given destination works in SD, but not in KM. In KM, “selection” is understood (path to the selected Finder file) and the destination as well (I had it as POSIX before).

An image:

It should work.

Have you allowed Notifications from KM? That might clue you in to what the error is -- or you could check the KM Engine log (~/Library/Logs/Keyboard Maestro/Engine.log) after running the macro. I'm guessing it's a Privacy & Security setting, maybe in the Automation section, but I don't know what...

[EDITED]

Nige, in fact, 2 things were happening - one I was using as a test an image that I had previously copied - with the same name - to the destination folder. So AS was failing… then I do suspect there were permissions issues, yes - I gave KMEngine automation and Accessibility access, both seemed to have fixed it - many thanks!!

Thanks Nige, the log gives me:

“AppleEvent handler failed. (-10000). Macro “F8 Move To Posted” cancelled (while executing Execute AppleScript).”