Article View: adobe.scripting.indesign
Article #2262Help Please!
From: sglinert
Date: Fri, 19 Dec 2008 20:20
Date: Fri, 19 Dec 2008 20:20
15 lines
1134 bytes
1134 bytes
I couldn't get an answer from the forums about the DoScript that didn't, so I wrote my own script to do the search and replaces. That worked just fine.
So I decided to move on to another script that deletes styles.
What's wrong with this?
var myDocument = app.activeDocument;
//Remove Extraneous Styles
myDocument.paragraphStyles.item("Balloon Text").remove(myDocument.paragraphStyles.item("Body Text"));
The documentation and Object Browser are almost useless for a beginner.
Can someone please help? I would really appreciate it.
Technical Details
Message-ID:
<59b750a5.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,4a44edc5d4a8a9f7,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: sglinert@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Help Please! Message-ID: <59b750a5.-1@webcrossing.la2eafNXanI> Date: Fri, 19 Dec 2008 12:20:49 -0800 Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Original-Lines: 18