🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2019

Re: [CS3] How to unlink assigned stories?

#2019
From: Zixxer
Date: Tue, 13 Jan 2009 14:29
5 lines
914 bytes
I had the same problem and used the "links" property from the document to get all the links.

for ( i = 0; i < jobDoc.links.length; i++ ) { var link = jobDoc.links.item(i); ... }

I looped through all the page items and compaired their id's with "link.parent.id", and was able to unlink the assigned story with "link.unlink();".
Technical Details
Message-ID: <59b77535.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b77535.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c5d133ee68f2a61
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Zixxer@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS3] How to unlink assigned stories?
Message-ID: <59b77535.2@webcrossing.la2eafNXanI>
Date: Tue, 13 Jan 2009 06:29:13 -0800
References: <59b77535.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit