Extend script

New Here ,
Jul 26, 2016 Jul 26, 2016

Copy link to clipboard

Copied

Hi there,

I am new to scripting. I need a script for updating cross references in a book. I am using licensed version of Frame Maker 10. I am using Extend script.

Thanks,

Isha

TOPICS
Scripting

Views

389

Likes

translate

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
Mentor ,
Jul 27, 2016 Jul 27, 2016

Copy link to clipboard

Copied

Isha,

I have a sample script that performs a book update, which should include a cross reference update. You can get it here, along with many other samples:

FrameMaker ExtendScript Samples - West Street Consulting

The script that does the book update is called "BOOK_-_General_book_operations.jsx". Hope this helps.

Russ

Likes

translate

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 ,
Jul 27, 2016 Jul 27, 2016

Copy link to clipboard

Copied

Hi Russ,

I have that link. There is no script for fixing cross references. Thanks anyways.

Isha

Likes

translate

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
Advocate ,
Jul 27, 2016 Jul 27, 2016

Copy link to clipboard

Copied

Isha,

If it is updating cross-references you need, that is one of the options of UpdateBook( ), which is in Russ' samples. If you are looking for something else, you need to give us (much) more details about what it is.

Jang

Likes

translate

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 ,
Aug 21, 2016 Aug 21, 2016

Copy link to clipboard

Copied

Russ/4everJang,

I want to automate broken cross references (both external and internal) by using extend script. I had been using some common chapters in my book, however when I generate book, cross references for the same do not work.

UpdateBook() generate a report for all broken cross references.

Thanks,

Isha

Likes

translate

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