Article View: adobe.scripting.indesign
Article #14569Re: Right tab in TextContents
From: Dave_Saunders
Date: Thu, 22 Jan 2004 15:06
Date: Thu, 22 Jan 2004 15:06
19 lines
1396 bytes
1396 bytes
I'm a tad confused about what you're trying to do. Are you looking to set a tab stop to be a right tab so you can just use a regular tab to achieve your goal?
Or are you intent on using the special character?
I guess the latter.
The way I attack this problem is to set an example of the character I want and then select it and use the debugger to run this:
confirm("Dummy",app.selection[0].contents);
Then I copy the field from the confirm dialog and use that value in my script to represent the character in question. For example, this technique told me that forced line break is represented by: 1397124194
So I added:
var forcedLnBrk = 1397124194;
to my script and used the variable where I needed the forcedLnBrk.
Dave
Technical Details
Message-ID:
<2ccf82b9.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:
<2ccf82b9.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,4fc75b03a9abbe7f X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-22 07:07:47 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: Right tab in TextContents Message-ID: <2ccf82b9.0@webx.la2eafNXanI> Date: Thu, 22 Jan 2004 07:06:49 -0800 References: <2ccf82b9.-1@webx.la2eafNXanI> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit