Article View: adobe.scripting.indesign
Article #8652Re: [VB] Getting a reference to last inserted PageItem
From: KvD
Date: Tue, 03 Oct 2006 11:00
Date: Tue, 03 Oct 2006 11:00
4 lines
899 bytes
899 bytes
Usually the pageItem that is placed most recently has index 1 (I think, I use javascript which starts at 0). You should probably refer to a PageItem and not a TextFrame, unless you know it is a TextFrame. Perhaps this works: Set myTextFrame = myDocument.TextFrames.Item(1)
Technical Details
Message-ID:
<3bc1d7c2.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossingReferences:
<3bc1d7c2.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2daf2f636dcf342a X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: KvD@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [VB] Getting a reference to last inserted PageItem Message-ID: <3bc1d7c2.0@webcrossing.la2eafNXanI> Date: Tue, 3 Oct 2006 04:00:22 -0700 References: <3bc1d7c2.-1@webcrossing.la2eafNXanI> Lines: 6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit