How to make document without opening the application in c# or Java.
I am able to create the document but for that, I have instantiated the UI of Adobe in-design
Below is the code I tried which is working but for this application need to be instantiated.
Type type = Type.GetTypeFromProgID("InDesign.Application.CC.2019", true);
dynamic app = System.Activator.CreateInstance(type,true);
InDesign.idScriptLanguage.idJavascript, new object[] { "" });
Document document = app.open("D:\\ResumeInDesign.indd", false);
Afzaal Ahmad ZeeshanPosted Jul 29, 2019, 1:31 PM
If your goal is to execute this code without having to launch the application, then you can create a script for this. Execute the script and have this performed for you. Or maybe try to explain the exact need and we can guide you further.