🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17041

[C#] Getting collections like UnusedSwatches

#17041
From: Skwerl
Date: Tue, 15 Jul 2003 21:22
3 lines
1322 bytes
I started trying to script in C# with the COM object quite a while ago and had a lot of trouble getting things to work. Since then I have been writing VB.Net wrapper classes for many of the COM object's interfaces. Since it looks like a lot of people have suddenly started developing with C# here, I'd like to see if someone has come up with a good way to get collections of objects back from InDesign. For instance, how do I get the array of UnusedSwatches from a document? I can't seem to find a way to hold the data in C#. Thanks in advance for any suggestions.

--JU
Technical Details
Message-ID: <1de9eef9.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,289a856201a011f5,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-07-15 14:38:01 PST
From: Skwerl <skwerl@infinitelucidity.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: [C#] Getting collections like UnusedSwatches
Message-ID: <1de9eef9.-1@WebX.la2eafNXanI>
Date: Tue, 15 Jul 2003 14:22:58 -0700
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit