Hi,
I am try to run the Javascript from applescript with arguments for Adobe illustrator 2020. Its working fine in "Mojave" OS, but in "Catalina OS" its shows error as "JavaScript code was missing"
set theDocPath to path to documents folder as Unicode text
set theFilesScript to theDocPath & "Adobe Scripts:DO_NOT_DELETE_scriptResources:New_Packager_Illus:main_library_Illus.jsx"
set theDoc to item i of masterFilesSelected
set argumentCondition2 to "CollectPaths"
with timeout of 5000 seconds
tell application "/Applications/Adobe Illustrator 2020/Adobe Illustrator.app"
set thePath to do javascript file theFilesScript with arguments {argumentCondition2, theDoc}
end tell
end timeout
Note: I have given the "Adobe Illustrator" in tell application place, then it work in "Adobe Illustrator CC 2019" instead of Illustrator 2020. So I gave the full path on that place. Now i got an error as "JavaScript code was missing"
Can any one check on this and help me to out from this.
Thanks in Advance
Asuvath