I'm trying to kick off a keyboard maestro macro from a workflow, and I have a couple variables that get captured during the workflow. I'd like to have my 'NSAppleScript' action use these, but I'm not sure how.
Here is the example applescript with what I *thought* would work.
on alfred_script(q)
-- ignoring application responses
tell application "Keyboard Maestro Engine"
setvariable "alfred_build_product" to "{var:product}"
do script "Build target (from Alfred)"
end tell
-- end ignoring
end alfred_script