🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #619

Re: Close all documents

#619
From: Robert Tkaczyk
Date: Tue, 10 Mar 2009 14:31
12 lines
1033 bytes
... or if you want to close/delete all objects from collection - close/delete last object until there is no objects ;)

VB example:

do while myInDesign.Documents.Count
   call myInDesign.Documents.Item(-1).Close(idSaveOptions.idNo)
loop

robin

-- 
www.adobescripts.com
Technical Details
Message-ID: <D93EA411FBBF8B4EB66F614D90E0878B@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b82bd9.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,bedace1126cd858f
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Close all documents
Message-ID: <D93EA411FBBF8B4EB66F614D90E0878B@in.webcrossing.la2eafNXanI>
Date: Tue, 10 Mar 2009 07:31:49 -0700
References: <59b82bd9.-1@webcrossing.la2eafNXanI>
Lines: 13
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
X-Antivirus: avast! (VPS 090309-0, 2009-03-09), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit