Article View: adobe.scripting.indesign
Article #14505Re: [JS] getting position of tabs
From: Dave_Saunders
Date: Fri, 30 Jan 2004 23:03
Date: Fri, 30 Jan 2004 23:03
13 lines
1003 bytes
1003 bytes
You're overloading myTab. You need it to be an array: Before the loop do: myTab = new Array; in the loop do: myTab[i] = blah, blah You don't need to count down in this looop because you're not changing anything. You have to watch out when working with tabs because if you start moving them around their indexes will shift on you. Dave
Technical Details
Message-ID:
<2ccfb05c.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccfb05c.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,731daffab767f6f4 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-30 15:07:49 PST From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [JS] getting position of tabs Message-ID: <2ccfb05c.0@webx.la2eafNXanI> Date: Fri, 30 Jan 2004 15:03:59 -0800 References: <2ccfb05c.-1@webx.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit