[BUG][2020][JS] Missing Adobe fonts during script
Hi,
Since Indesign 2020, the auto-activation feature of missing Adobe Fonts is added. This works almost perfect when opening files manually, but when running a script, it is a nightmare.

There are 2 major issues currently present when using scripting:
1. The script doesn't pause after the document is opened, to allow fonts to be activated. The font activation process runs asynchronously. The script continues after opening the file. All font activation operations are ignored.
2. During the script execution, any font activation is ignored UNTIL THE SCRIPT IS FINISHED! Building delay's or adding additional font validation into the script to check if the fonts are loaded properly, is completely useless. Closing and reopening the Indesign file during script execution is also useless and doesn't work.

How do we successfully integrate font activation in a script?
Thanx
tm
