Article View: adobe.scripting.indesign
Article #15675Text in Variables
From: Dave_Saunders
Date: Thu, 20 Nov 2003 16:31
Date: Thu, 20 Nov 2003 16:31
9 lines
1159 bytes
1159 bytes
If I pull some text out of a paragraph into a JavaScript variable, it arrives as unicode. Right? Thus, the length of the variable as JavaScript sees it corresponds to the length as InDesign sees it. Right? Is this also true of the other scripting languages? I think so. This is an important and valuable departure from previous versions. It means you can grab strings and use them to form pointers into your text without having to worry about the possibility that unicode extended strings will mess up your pointers. Gosh I hope this is true. I guess I'm about to find out.
Technical Details
Message-ID:
<2cce7fb7.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,1a8facf4719109e,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-11-20 08:38:06 PST From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Text in Variables Message-ID: <2cce7fb7.-1@webx.la2eafNXanI> Date: Thu, 20 Nov 2003 08:31:13 -0800 Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit