Concatenate KM variable with string in osascript shell script

See:

and


However, may I ask:  Why are you using a shell script with osascript?
Using a KM Action "[Execute AppleScript](https://wiki.keyboardmaestro.com/action/Execute_an_AppleScript)" is much simpler, and you can avoid the quoting issues.
1 Like