I don't see a KM action to set multiple variables, so I use AppleScript to set them at once.
It appears I can't create instance variables with AppleScript for use in subsequent actions?
As an example, I created six instance variables with AppleScript, but they are passed on to the next action. Can anyone confirm if this is indeed the case? Or is there another way to do it?
PS: I know I can either set them one by one or use input as instance variables. But either is what I want. If I have more than 10 variables, AppleScript looks much nicer to me.
set kmInst to system attribute "KMINSTANCE"
tell application "Keyboard Maestro Engine"
setvariable "Local__FromAS" instance kmInst to "Variable set in AppleScript."
end tell