app.activeDocument.distribute is not a function
Every align/distribute script seems to use this function, but if I run it, I just get "app.activeDocument.distribute is not a function"
the script has already selected the items and then it fails on this distribute line.
What am I doing wrong?
the offending line (though I've tried variations from other scripts)
app.activeDocument.distribute(app.activeDocument.selection, DistributeOptions.HORIZONTAL_SPACE, AlignDistributeBounds.ITEM_BOUNDS, false);
Thanks in advance!