(Not sure I've understood the goal.)
Maybe you need something like this:
var tfs = app.activeDocument.textFrames.everyItem().getElements(), tf; while( tf=tfs.pop() ) if ( tf.footnotes.length ) tf.textFramePreferences.verticalJustification = VerticalJustification.TOP_ALIGN;
That's a really neat way to construct a loop!
1 person found this helpful
The less I use variables, the more I'm happy
It's simple and perfect...
Thank you very much !!!!!!!