did you try to paste that line directly in the terminal? Was there any
error message, or any kind of feedback?
you can also write a script to a file, and let osascript use it(also
try with the terminal first, then with max).
I can't fully test this out since I don't have the "SEC Helper" app,
but I suspect that the character ` before the word "using" could be a
try this: save script as "mybestscriptever.scpt" in the same folder
where your patch is saved, and then call it with:
or if you're using the -e approach, you're probably entering the world
of symbolic pain. simple example would be message box with the:
osascript -e'tell application "Finder"' -e activate -e end tell
> so, HOW HAVE I GOT TO WRITE IT TO MAKE IT WORK ON [SHELL]?
it's really very very simple: just study carefully the way max handles
symbols, osascript manual, actionscript, shell(s), google for error
messages, search max forum and eventually you'll figure it out.
well, since I wrote 'actionscript' instead of applescript(and because
information about escapes and symbols is dispersed throughout the
docs&forum), I'll give you a hint:
whole osascript line should be one symbol, meaning you should put all
of it in quotes.
but since there are already quotes in your call ("SEC Helper"), and
they have special meaning in max, you'll have to escape them with ,
meaning: insert before " to get ", but not before first and last
double quotes(which define max symbol).
I've just installed sec helper thing, typed correctly formated
message, and it worked, so you know now it's possible.
If this is too urgent for you, and you don't want to know at this
point how symbols in max work, look here what to type into the message
box to make it work: