The app.doScript () statement no longer works since version 15.1.1...
The script that I am attaching works up to version 15.0 and does not work with the next versions (certainly with version 15.1.1). The error that returns is "Unable to load Adobe Indesign Type Library 1.0" (translated from Italian). It does not seem to me that there are incompatibilities with the app.doScript () statement that generates the error.
The issue has been fixed in the latest release of InDesign – InDesign 2021.
Please update to this new version of InDesign to get the fix.
—
Adobe InDesign team
-
Andrea Paraboni commented
Sushil Kumar Srivastava (Adobe) suggest:
Somehow, your Registry settings is changed. If you Launch InDesign as Admin , then same script should run fine. You just need to launch InDesign as admin for only one time. After it, you can launch InDesign normally. And Scripts should run fine then after.
It works!. Thank you.
-
Andrea Paraboni commented
Operating sistema: Windows 10.