InDesign server: How to detect or stop execution when a file needs plugins that are not installed
Hello,
we use InDesign server for automated document processing. When a file is opened (via an ExtendScript script) that uses one or more plugins that are not installed, InDesign server outputs the following log message:
Thu Aug 22 12:10:36 2024 ERROR [server] The document "document.indd" uses one or more plug-ins which are not currently available on your system. We strongly advise you not to open the document.
Though this is logged as an error, InDesign server does not stop script execution and continues with the rest of the script. This goes unnoticed unless the log is explicitly checked or some data corruption is visible in the file.
Is there a way to tell InDesign server to stop execution when this error occurs (like with other errors during script execution)? Or is there a way to explicitly check if there are any missing plugins with a script command?
I tried to count the amount of error output (stderr) the process emits during execution to check if there was any error that did not stop execution. But unfortunately, this error gets emitted via standard output (stdout) and not standard error output (stderr).
Any other ideas? I really do not want to use some string/regex check on the log entries.
Greetings,
Dean
