Hello Forum,
I can't seem to be able to paste a variable from an Applescript to KM.
Do I have a bug or am I on a completely wrong path?
Thank you,
A. P.
Wrong path. Here’s the deal:
https://wiki.keyboardmaestro.com/AppleScript
Very close. Try it this way (had to change your trigger and variable names):
Keyboard Maestro “Test” Macro
Test.kmmacros (2.3 KB)

This is it! Fantastic! I was close, but not completely there yet. 
Thank you!
Glad to help.