🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19730

Re: VB Non-Breaking Space? Hypen?

#19730
From: Olav Kvern
Date: Tue, 26 Nov 2002 19:17
13 lines
1580 bytes
Scott-- 

That's odd, because it seems to me that this has come up several times in this forum, and I know that all of the idSpecialCharacters enumerations are listed in the Scripting Guide. 

But I've also noted that it's often easier to use Unicode strings, rather than idSpecialCharacters, as you can combine Unicode strings with other characters to set the TextContents of more than a single character at a time (which is what you're limited to if you use idSpecialCharacters). 

In this case, you want "<002D>" (for the non-breaking hyphen) and "<00A0>" (for the non-breaking space). 

How do you mean "_outside_of VB"? If you want to use these enums/constants from VBScript, use the decimal value you can see in the VB object browser. Again, I think the Unicode strings work better. 

Thanks, 

Ole
Technical Details
Message-ID: <1de6c22e.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de6c22e.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,1f36390846d51b09
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-26 11:38:52 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: VB Non-Breaking Space? Hypen?
Message-ID: <1de6c22e.0@WebX.la2eafNXanI>
Date: Tue, 26 Nov 2002 11:17:47 -0800
References: <1de6c22e.-1@WebX.la2eafNXanI>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit