🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17802

Re: Load Parastyles

#17802
From: reyman
Date: Mon, 12 May 2003 08:13
12 lines
1107 bytes
Thank you for tour answer but there is something I don't understand.
I wrote the following scriptlines and it doesn't work, it copies nothing.
What do I have to do??

doc_style = application.Documents.open(styles_files)
nb = doc_style.ParaStyles.count
For i = 1 To nb
  style = new_document.ParaStyles.add()
  new_document.ParaStyles.item(i)= doc_style.ParaStyles.item(i)
next i

Thanks
Technical Details
Message-ID: <1de9083f.1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de9083f.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4db21cbe0e175010
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-12 01:37:49 PST
From: reyman <reyman23@caramail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Load Parastyles
Message-ID: <1de9083f.1@WebX.la2eafNXanI>
Date: Mon, 12 May 2003 01:13:34 -0700
References: <1de9083f.-1@WebX.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit