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

Cross-References to be updated! …

LEGEND ,
Jan 11, 2017 Jan 11, 2017

Copy link to clipboard

Copied

Hi Scripters,

Happy New Year to all of you!

I've a question about cross-references!

It seems very simple to update them with the CR panel:

Capture d’écran 2017-01-12 à 02.51.00.png

… Just 1 click!

But how to do it with Javascript! 

Thanks for your comments!

(^/)

TOPICS
Scripting

Views

650

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

Advisor , Jan 22, 2017 Jan 22, 2017

Votes

Translate

Translate
LEGEND ,
Jan 13, 2017 Jan 13, 2017

Copy link to clipboard

Copied

Oups! … simply:

app.activeDocument.crossReferenceSources.everyItem().update();

(^/) 

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
Advisor ,
Jan 22, 2017 Jan 22, 2017

Copy link to clipboard

Copied

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 ,
Jan 22, 2017 Jan 22, 2017

Copy link to clipboard

Copied

LATEST

Hi Vlad,

I had not seen it! Thanks! 

One question: Why 2 codes to do the same thing?

  1. app.activeDocument.crossReferenceSources.everyItem().update(); 
  2. app.activeDocument.updateCrossReferences();

(^/)

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