Article View: adobe.scripting.indesign
Article #9799Re: Variation of Dave's Script in "How To Begin Scripting"
From: Dave_Saunders
Date: Tue, 18 Jul 2006 00:22
Date: Tue, 18 Jul 2006 00:22
13 lines
975 bytes
975 bytes
The text frame holding the first insertion point of a run of text is: myText.parentTextFrames[0]; // in CS2 to reference the inserted anchor, just do this: myIP.addAnchor(); myStory = myIP.parentStory; myAO = myStory.characters[myIP.index].pageItems[0]; or textFrames[0]; // if you know it's a text frame. Dave
Technical Details
Message-ID:
<3bc0ed94.10@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0ed94.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c3f000112de732ba X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Variation of Dave's Script in "How To Begin Scripting" Message-ID: <3bc0ed94.10@webcrossing.la2eafNXanI> Date: Mon, 17 Jul 2006 17:22:37 -0700 References: <3bc0ed94.-1@webcrossing.la2eafNXanI> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing