Question
AppleScript 'do script' no longer works with InDesign CC 2020?
Dear Community,
I'm trying to launch Javascript/ExtendScript from AppleScript in recent InDesign using "do script" command. Is that still possible? I'm getting errors as if the command is no longer valid
tell application "Adobe InDesign 2020"
activate
set jsx_script to "Macintosh HD:Users:xxx:project:script.jsx"
set val_1 to "Foo"
set val_1 to "Bar"
set my_values to {val_1, val_2}
do script jsx_script language javascript with arguments my_values
end tell
This generates a syntax error at the `do script` line: "Expected end of line, etc. but found “script”."
Any ideas?
