Article View: adobe.scripting.indesign
Article #9777Replacing strings with idSpecialCharacter values...
From: dean kroon
Date: Mon, 17 Jul 2006 18:30
Date: Mon, 17 Jul 2006 18:30
13 lines
1122 bytes
1122 bytes
Platform: Windows
Version: ID2
Language: VB.NET (but will take examples in any language)
I am trying to do a replace with characters defined in the enumeration idSpecialCharacters. I don't think that most of these values have equivalents in unicode.
Here's my code (which fails). I am trying to replace the string "\n\" with an En Space character (which is not the same as the ascii decimal 32 character)
inDesignDocument.Search("\n\", False, True, InDesign.idSpecialCharacters.idEnSpace)
Has anybody done this?
Thanks!
Technical Details
Message-ID:
<3bc0f119.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,d498b7a6895f16df,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: "dean kroon" <dkroon5@hotmail.com> Newsgroups: adobe.scripting.indesign Subject: Replacing strings with idSpecialCharacter values... Message-ID: <3bc0f119.-1@webcrossing.la2eafNXanI> Date: Mon, 17 Jul 2006 11:30:05 -0700 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing