🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9345

Re: CS1, simple JS scripting help needed!

#9345
From: Dave_Saunders
Date: Tue, 05 Sep 2006 14:15
12 lines
1107 bytes
Aha! I had a stupid typo:

var myFrames = app.documents[0].textFrames; 
for (oneFrame = myFrames.length -1; oneFrame >=0; oneFrame--) { 
  myFrame = myFrames[oneFrame];  if (myFrame.contents == "" && myFrame.fillColor.name == "None" && myFrame.strokeColor.name == "None") { 
    myFrames[oneFrame].remove(); 
  } 
}



Dave
Technical Details
Message-ID: <3bc18931.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.osn.de!diablo1.news.osn.de!news2.arglkargh.de!news.cnetm.de!news.motzarella.org!news.isoc.lu!webcrossing
References: <3bc18931.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,40bd19af254e80f3
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.osn.de!diablo1.news.osn.de!news2.arglkargh.de!news.cnetm.de!news.motzarella.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: CS1, simple JS scripting help needed!
Message-ID: <3bc18931.2@webcrossing.la2eafNXanI>
Date: Tue, 5 Sep 2006 07:15:25 -0700
References: <3bc18931.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit