Article View: adobe.scripting.indesign
Article #16692VB Problem with CreateOutline script
From: Alex Bu
Date: Thu, 14 Aug 2003 02:37
Date: Thu, 14 Aug 2003 02:37
13 lines
1139 bytes
1139 bytes
Hi! I've written a script to convert every text in a document do outline. It works well in most cases, but there's one document where I get a runtime error and Method 'CreateOutlines' of object 'TextFrame' failed. Here's the code: For InDOutlineCount = myDocument.TextFrames.Count To 1 Step -1 Set InDOutline = myDocument.TextFrames.Item(InDOutlineCount) InDOutline.CreateOutlines Next Any idea what's wrong with that? Thanks, Alex
Technical Details
Message-ID:
<1dea5235.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!skynet.be!skynet.be!newsfeed.online.be!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,9a813526fe943003,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-08-13 20:07:51 PST From: "Alex Bu" <12three@gmx.de> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!skynet.be!skynet.be!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: VB Problem with CreateOutline script Message-ID: <1dea5235.-1@WebX.la2eafNXanI> Date: Wed, 13 Aug 2003 19:37:59 -0700 Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit