Answered
How to define undo.isValid?
Hi experts,
if my script like this
app.activeDocument.undo();
for undo activeDocument last changed
but if it is nothing to undo it will give me an error;
how can make the script something like
if (app.activeDocument.undo.isValid)
{app.activeDocument.undo();}
???
thanks
regard
John
