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
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