InDesign Server Step-By-Step for Beginners like me:
-
Install InDesign Server
-
Run the server by going to the folder where InDesignserver.exe installed and launch a DOS box then type:
Indesignserver –port 8400
*8400 - can be any port number as long as it is open -
Create a new .jsx file somewhere in your local drive then open it and type:
var myDocument = app.documents.add();
var myFile = new File('c:/Kratos/test.indd');
myDocument.save(myFile);
myDocument.close();
Save it somewhere easy to remember. -
Go to the folder again where you install the indesignserver and launch another DOS box again and type:
sampleclient -host localhost:8400 "c:/Kratos/indesignserver101.jsx"
Check if the file test.indd was created on c:/Kratos/