🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17333

Re: Numbering script?

#17333
From: Jay Fraser
Date: Wed, 18 Jun 2003 22:38
15 lines
2510 bytes
Whups! Sorry. No spaces in SerialFrameMaster.

While we're here, do you know how to label a text frame? It's easy: select the frame, go to Window>Script Label, click in the white box of the palette that appears, then type in the name & hit return. Kinda obvious, but it took me a while when I was starting out.

Then, open Script Editor. Copy the script above (everything from "tell application..." to the last "end tell") and paste it into the lower text area of the script window (the upper area is for descriptions). Click on the "Check Syntax" button to make sure it all worked out OK.

If you get an error message at this point, something was lost in translation. I'm worried there might be a problem w/ the line that starts "Please select ..." I broke that line into 2 so that it would fit; if you get an error, click just to the left of the quotes on that line, then backspace until you are one space away from the ampersand on the line above.

Save the script to your "Scripts" folder in the InDesign application folder. Get back into InDesign, go to Windows>Scripts, and the script should be in the palatte that appears. Double click that sucker & you are on your way.

If you want to test this before you commit yourself to running all 1500 pages, make the document only 10 pages or so. Go back to the Script editor, re-open the script if you closed it, & click on the "run" button. This will give you some better clues if it doesn't work for some reason.

If the 10 page trial works, go ahead & expand to 1500 & let her rip. You'll have to close the script in the script editor for it to work in InDesign. Note that it might take a while to grind all the way through 1500 pages; your machine might look like it's frozen, because the work all happens behind the scenes.

Jay
Technical Details
Message-ID: <1de99780.9@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de99780.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,6a892b1866938409
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-18 16:08:07 PST
From: "Jay Fraser" <jayfraser@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Numbering script?
Message-ID: <1de99780.9@WebX.la2eafNXanI>
Date: Wed, 18 Jun 2003 15:38:09 -0700
References: <1de99780.-1@WebX.la2eafNXanI>
Lines: 35
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit