• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Vertical alignment when the page content footnotes

New Here ,
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

I need this script:

Search footnotes in a document, and in these pages with footnotes change the vertical alignment to top...

Thanks.... (And sorry for my not good english !!!)

TOPICS
Scripting

Views

831

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guide , Sep 16, 2009 Sep 16, 2009

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

@+

Marc

Votes

Translate

Translate
Guide ,
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

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

@+

Marc

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

Hey, Marc,

That's a really neat way to construct a loop!

Cheers,

Harbs

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

The less I use variables, the more I'm happy

@+

Marc

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

LATEST

It's simple and perfect...

Thank you very much !!!!!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines