Article View: adobe.scripting.indesign
Article #10261Re: correspondent of "itemByRange" (JS) in AS
From: Martin Fischer*
Date: Thu, 29 Jun 2006 06:01
Date: Thu, 29 Jun 2006 06:01
27 lines
1242 bytes
1242 bytes
Shane, you are right, your code is faster. Both will work in normal text (outside footnotes), but both will not work if the characters are part of footnote text. set applied character style of text from character x to character y of myStory to myCharStyle set applied character style of characters x thru y of myStory to myCharStyle So it is not only JavaScript which has problems taking access to text within footnotes, but AppleScript too. But AppleScript doesn't have problems with the selection-object within footnotes. Thanks Martin
Technical Details
Message-ID:
<3bc0beb1.5@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0beb1.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,dcff34b489ad5a4e X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Martin Fischer*" <martin.fischer@online.de> Newsgroups: adobe.scripting.indesign Subject: Re: correspondent of "itemByRange" (JS) in AS Message-ID: <3bc0beb1.5@webcrossing.la2eafNXanI> Date: Wed, 28 Jun 2006 23:01:10 -0700 References: <3bc0beb1.-1@webcrossing.la2eafNXanI> Lines: 20 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!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing