Copy link to clipboard
Copied
Hi,
i am a newbee and hoping that someone might be able to help me out with.
I am trying to create a Javascript running on Adobe Server 2024 that loads a *.indd file as document, modifies it and then stores it under another file name. How can i do that with the help of the ExtendScript Toolkit?
Thank you very much!
BR
Sami
Copy link to clipboard
Copied
If you are a newbie - starting scripting journey from InDesign Server isn't a good idea.
Scripting InDesign Server is pretty much the same as regular InDesign - you just need to remember that there is no UI - so no access to Clipboard and no Selection.
Copy link to clipboard
Copied
Well, i have to jump into to ice cold water.
I am trying to load the Indd file by the lines:
var doc = app.open(File("<filepath"));
But inside ExtendScript Toolkit, i am getting the error "app.open is no function".
What am i missing here?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
This should be better than what's in the PDF:
https://documentation.help/InDesign-Server-CS5.5/pc_Application.html#open
Copy link to clipboard
Copied
Should work. Not sure what your IDS/ESTK configuration is like.
Copy link to clipboard
Copied
> "app.open is no function"
That suggests that you're not talking to InDesign. Did you point the ESTK to InDesign (or InDesign Server if you installed it locally)? Select it from the dropdown at the top left of the ESTK's window: