I have an Applescript that has the statement
open (thePDFName as alias) without dialogs
In Adobe Illustrator 2019, it works. In Adobe Illustrator 2020, it gives me an "unable to open file" error. When I comment out "without dialogs", it opens the file, but then naturally pops open a dialog (not helpful when you are opening dozens of files!)
MacOS 10.13.6, not sure what other information would be needed.2 votes
This issue is reproducible with HFS paths.
Workaround: Use the POSIX path for opening files
set myFilePath to POSIX path of theAIFile
open file myFilePath without dialogs
I believe this might be a bug since it crashed Illustrator rather than the script crashing gracefuly.
I have a script which, when completed, crashes Illustrator. The script runs fine when ran from within the ESTK but crashes when ran from the AI File->Scripts menu. Attached is the crash log. I cannot post the script itself here but am willing to send it to an Adobe employee privately if needed.2 votes
Thanks for sharing the script, we are able to repro the issue at our side & have forwarded it to the engineering team for further isolation.
With Best Regards,
- Don't see your idea?