Article View: adobe.scripting.indesign
Article #19700How to remove multiple occurrences from a list? [AS]
From: Richard Ronnback
Date: Mon, 25 Nov 2002 06:55
Date: Mon, 25 Nov 2002 06:55
13 lines
1119 bytes
1119 bytes
Sometimes when I am using lists I would like to remove items that occurs more than once. For example, the example below will return more than one text flow if I the layer contains linked text frames set myLayerStories to parent story of text frames of layer 1 of active document How do you "wash" a list so that identical items only appear once? / Richard
Technical Details
Message-ID:
<1de6be8f.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,5af732cb4a184874,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-24 23:07:25 PST From: "Richard Ronnback" <richard.ronnback@telia.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: How to remove multiple occurrences from a list? [AS] Message-ID: <1de6be8f.-1@WebX.la2eafNXanI> Date: Sun, 24 Nov 2002 22:55:18 -0800 Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit