Article View: adobe.scripting.indesign
Article #1084[JS, CS3] Need help changing tabStop positions of selected text
From: Len_Swierski
Date: Mon, 23 Feb 2009 19:59
Date: Mon, 23 Feb 2009 19:59
4 lines
1152 bytes
1152 bytes
Hi all, I am writing a script to nudge the tabStop positions of selected text by one point at a time. Sometimes it will be only a tab character selected, and other times it could be several in the paragraph or maybe even the whole story. The problem I am encountering is that when I reference the tabStops as app.selection[0].tabStops it includes ALL the tabStops in the paragraph and NOT just the selected ones. Is there a way to get just the selected tabStops and add a point to their positions? It must be that my referencing is flawed. Thanks for any help. Regards, Len Swierski
Technical Details
Message-ID:
<59b807a6.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,aa36cd00aaa90f1c,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Len_Swierski@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: [JS, CS3] Need help changing tabStop positions of selected text Message-ID: <59b807a6.-1@webcrossing.la2eafNXanI> Date: Mon, 23 Feb 2009 11:59:00 -0800 Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit