🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9209

(JS) Use spreadsheet to rename a bunch of documents?

#9209
From: Lisa_Spike
Date: Tue, 05 Sep 2006 18:26
7 lines
1581 bytes
Before I go trying to figure out HOW, I figure I'd come here to see if what I'd like to do is even possible.

We are going to have many, many InDesign documents that are individual pages of a catalog. The documents will be named their page number (such as "425.indd"). However, at the end of the production cycle, page numbers will change as a result of inserting new pages. I can handle the page numbering itself by using books. But the document names will then not match the page number.

Can I use a script to batch rename documents? If I have an Excel spreadsheet that contained the existing document name and the new document name, can the script call on that spreadsheet and do the "save as" for me? (I would also have to figure out how to NOT overwrite an existing document with the same name.)

Any ideas?
Technical Details
Message-ID: <3bc189ba.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!atl-c05.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!news.maxwell.syr.edu!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!noris.net!news.buerger.net!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,b660b80d53473988
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Lisa_Spike@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!atl-c05.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!news.maxwell.syr.edu!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!noris.net!news.buerger.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: (JS) Use spreadsheet to rename a bunch of documents?
Message-ID: <3bc189ba.-1@webcrossing.la2eafNXanI>
Date: Tue, 5 Sep 2006 11:26:15 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit