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.
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)
While KM variables can certainly be set entirely within AppleScript, I personally find it easier to return the results and save them in a variable more directly:
This is it! Fantastic! I was close, but not completely there yet.
Thank you!
Glad to help.