🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20219

Re: How to get files whose name ends with (anything in a list) ?

#20219
From: Richard R�nnb�ck
Date: Sun, 20 Oct 2002 08:27
12 lines
1302 bytes
Thanks Shane,

Exactly what I need. One problem though: If concatenate the two lists, like
below, I may get duplicates. How do I do to files that has both creator and
extension to appear only once?


set myFiles to files of myFolder whose creator type is in myFileTypes

set myFiles2 to files of myFolder whose name extension is in myFileSuffixes

set myNewFiles to myFiles & myFiles2
Technical Details
Message-ID: <B9D8357C.8863%richard.ronnback@telia.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.rt.ru!rt.ru!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de63b23.-1@WebX.la2eafNXanI> <B9D89632.417A6%sstanley@myriad-com.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,13420ed1ecfce0f3
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-10-21 03:56:54 PST
From: Richard R�nnb�ck <richard.ronnback@telia.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.rt.ru!rt.ru!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: How to get files whose name ends with (anything in a list) ?
Message-ID: <B9D8357C.8863%richard.ronnback@telia.com>
Date: Sun, 20 Oct 2002 01:27:08 -0700
References: <1de63b23.-1@WebX.la2eafNXanI> <B9D89632.417A6%sstanley@myriad-com.com.au>
Lines: 17
User-Agent: Microsoft-Entourage/10.1.1.2418
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit