"everyItem().getElements()"! … What use?
Hi,
In this code sample:
function main()
{
var myImages = app.activeDocument.rectangles, G = myImages.length, // Not necessary!? .everyItem().getElements()
myValue = 0, myIncrementation = -2;
while (G--) {
var myRotation = app.transformationMatrices.add({counterclockwiseRotationAngle: myValue});
myImages
.transform(CoordinateSpaces.pasteboardCoordinates, AnchorPoint.centerAnchor, myRotation); myValue += myIncrementation;
}
}
… use or not use "everyItem().getElements()" seems to not matter!
Does somebody explain this syntax behavior?
Thanks in advance! ![]()
(^/)
