Article View: adobe.scripting.indesign
Article #15784Unicode character in a comparison (2.0.2 AS)
From: Gilles_Le_Pors
Date: Sat, 15 Nov 2003 11:56
Date: Sat, 15 Nov 2003 11:56
15 lines
1290 bytes
1290 bytes
Hi, I would like to make a list of all the paragraphs that contain an ornament character from the Adobe Caslon Pro font. In the UI, if I paste this character into the "Find what:" field of the "Find/Change" dialog box, I get a "3". In the script editor, I also get a "3". Therefore, my script finds the paragraphs I'm looking for but every paragraph with the number 3 as well. I think the unicode number for the ornament character is <E00D> but I don't know how to use it. set MyFound to (first character of paragraph 2 of MyTextFrame as Unicode text is "<E00D>") doesn't work Any help appreciated. Yours Sincerely, Gilles Le Pors
Technical Details
Message-ID:
<2cce67ca.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!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,99b09d14135470c,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-11-15 04:07:45 PST From: Gilles_Le_Pors@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Unicode character in a comparison (2.0.2 AS) Message-ID: <2cce67ca.-1@webx.la2eafNXanI> Date: Sat, 15 Nov 2003 03:56:30 -0800 Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit