Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

Scripting InDesign Server

$
0
0
I understand that when scripting the server, there is no such thing as an activeDocument, so app.activeDocument should be replaced with:

app.documents[0].getElements()[0]

if you want a resolved reference (app.documents[0] is usually good enough, though).

But what happens to commands like:

alert(Msg)

and it's confirm() and prompt() brethren? Do these cause a message on the server thereby bringing things to a halt? Or is the server intercepting these and moving on?

Is there a place a scripter can go to get information on what can or cannot be done on the server? Or should that be "what should or should not be done"?

Dave

Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>