Article View: adobe.scripting.indesign
Article #1087Re: [JS, CS3] Need help changing tabStop positions of selected text
From: Olav_Kvern
Date: Mon, 23 Feb 2009 20:06
Date: Mon, 23 Feb 2009 20:06
7 lines
1016 bytes
1016 bytes
Hi Len, The selection is the text, not the tab stop. That is, even if you have selected a tab character, you have not selected a tab stop. To find out which tab stop corresponds to the tab character you have selected, you'll have to work out the location of the tab character in the text. You might want to take a look at the TabUtilities.jsx example script to see how to do this. Thanks, Ole
Technical Details
Message-ID:
<59b807a6.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b807a6.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,aa36cd00aaa90f1c X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [JS, CS3] Need help changing tabStop positions of selected text Message-ID: <59b807a6.1@webcrossing.la2eafNXanI> Date: Mon, 23 Feb 2009 12:06:26 -0800 References: <59b807a6.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit