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

How to create a TOC for Indesign book using Javascript

Community Beginner ,
Nov 22, 2017 Nov 22, 2017

Hi All,

I have created an Indesign Book.

Now I want to create a TOC for the book using Javascript.

I wanted to know how to apply styles for the TOC page for eg.,spacing between the Heading and page number?

Thank you

Regards,

Niveda

TOPICS
Scripting
567
Translate
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 ,
Nov 22, 2017 Nov 22, 2017

Hi,

Javascript Infos on TOC here:

InDesign ExtendScript API (13.0)

(^/)

Translate
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
Community Expert ,
Nov 22, 2017 Nov 22, 2017
LATEST

Hi Niveda,

did you look up TOCStyleEntry and its properties?
Especially pageNumberPosition, separator and separatorStyle.

Regards,
Uwe

Translate
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