I use java script to create a document and I want to choose how and where it should be saved.
var docName = File.saveDialog ('Save', 'Adobe InDesign publications:*.indd');
If I try to run this code in ExtendScript toolkit without choosing my configuration then dialog will open, but if I try to run it under server this dialog will be skipped and docName = null
Could anyone help me how to solve it?
Thank you in advance
Does it mean that I can't use any dialogs to ask an user to choose file to open or to choose a folder and filename to save result of script?
It's inconvenient to run scripts with pre-defined parameters.
If you are running Server as a desktop app, I'm not sure why you are using Server at all. You should be using the Desktop version.
That said, there's plenty of ways to go about it. The simplest is probably to use VB or Applescript.
Also, this is not the best forum for this question.
Europe, Middle East and Africa