Article View: adobe.scripting.indesign
Article #1318Re: Trying to get an old script to work in CS3
From: Olav_Kvern
Date: Mon, 09 Feb 2009 20:00
Date: Mon, 09 Feb 2009 20:00
23 lines
1131 bytes
1131 bytes
Hi Diane, I don't think that Peter's suggestion will work--the text won't move if the line fails (but thanks for helping, Peter!). Instead, I think you need to provide a more "solid" text reference for the move method--I've noticed that using a story does not work in all cases. Try something like this: theText.move(LocationOptions.atEnd,myTF.parentStory.insertionPoints.item(0)); Or: theText.move(LocationOptions.atEnd,myTF.parentStory.texts.item(0)); ...either should work. Thanks, Ole
Technical Details
Message-ID:
<59b7ca4f.16@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b7ca4f.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,439ee5f9598104f5 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Trying to get an old script to work in CS3 Message-ID: <59b7ca4f.16@webcrossing.la2eafNXanI> Date: Mon, 9 Feb 2009 12:00:33 -0800 References: <59b7ca4f.-1@webcrossing.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit