🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9731

Automatically creating section markers

#9731
From: manzell
Date: Fri, 21 Jul 2006 16:42
11 lines
1191 bytes
Hello...
I am attempting to write the following script in JS but it turns out I need more knowledge than my limited amount...

What I want to do is automatically insert Section Markers with the first instance of a particular Paragraph style on a page - in this case, the same Para style ued to determine pages for Table of Contents.

I notice that in the Indy Scripting Reference for JS there isn't a section.add method - does this mean that I can't dynamically create section markers?

Additionally, I don't really know how to scan/search for the page number associated with a given occurence of a paragraph style...

Thanks,
Manzell B
Technical Details
Message-ID: <3bc0fe88.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e7a56d9bd50e2dcf,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: manzell@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Automatically creating section markers
Message-ID: <3bc0fe88.-1@webcrossing.la2eafNXanI>
Date: Fri, 21 Jul 2006 09:42:11 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing