🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15279

Re: [JS] pageReference.remove does not work

#15279
From: Dave_Saunders
Date: Wed, 10 Dec 2003 14:02
9 lines
836 bytes
remove is a function. You need to add ():

app.activeDocument.indexes[0].topics[0].pageReferences[0].remove();

I'm assuming all the other stuff is correct.

I keep making that mistake.

Dave
Technical Details
Message-ID: <2cceda2b.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2cceda2b.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,955c3fb59c19e44b
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-10 06:07:49 PST
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS] pageReference.remove does not work
Message-ID: <2cceda2b.0@webx.la2eafNXanI>
Date: Wed, 10 Dec 2003 06:02:51 -0800
References: <2cceda2b.-1@webx.la2eafNXanI>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit