I need to set a variable in Keyboard Maestro, and the documentation states that this can be done with AppleScript:
tell application "Keyboard Maestro Engine"
make variable with properties {name:"My Variable", value:"New Value"}
end tell
I'm trying to transform this to appscript-rb notation, so far I've got
Appscript.app('Keyboard Maestro Engine').
make(:variable, properties={:name=>'var1', :value => 'val1'})
I've documented a lot of successful snippets here: http://reganmian.net/wiki/appscript, and many of them follow the pattern above, but this snippet does not work, it gives "unknown keyword parameter name".