Time problem on handover - No document opened
Posted: Fri May 17, 2024 9:37 am
Hi community,
I seem to have a timing problem and don't know how to solve it.
The following procedure:
- An Indesign file and the corresponding JSON arrive in the input folder(Folder2).
- Job is kept short, come together.
- It is passed to Indesign and the Indesign file is opened.
It is opened with the AdobeExtended script 'DGN-Automatisierung-Proxy.jsx' and the UXP script is to be executed(after).
- The script states that the UXP should be executed (because the switch does not support UXP).
The problem is that I get the error message (from the script) that no Indesign document is open(?).
So the Indesign file is passed to the Indesign app, the app opens and closes the document before(!) the script is executed. And when the script wants to execute its function, the ID document is already closed again.
How can I work around this, where is the error?
Thanks for help
I seem to have a timing problem and don't know how to solve it.
The following procedure:
- An Indesign file and the corresponding JSON arrive in the input folder(Folder2).
- Job is kept short, come together.
- It is passed to Indesign and the Indesign file is opened.
It is opened with the AdobeExtended script 'DGN-Automatisierung-Proxy.jsx' and the UXP script is to be executed(after).
- The script states that the UXP should be executed (because the switch does not support UXP).
The problem is that I get the error message (from the script) that no Indesign document is open(?).
So the Indesign file is passed to the Indesign app, the app opens and closes the document before(!) the script is executed. And when the script wants to execute its function, the ID document is already closed again.
How can I work around this, where is the error?
Thanks for help