Article View: adobe.scripting.indesign
Article #19865Re: Constants
From: Olav Kvern
Date: Tue, 19 Nov 2002 18:47
Date: Tue, 19 Nov 2002 18:47
20 lines
1780 bytes
1780 bytes
Chris-- You'll find all of the constants (enums) that are returned as the contents of a Character in the idSpecialCharacters class. Note, however, that it's usually better to use Unicode strings for special character entry. Why? Because you can only use idSpecialCharacters to set the contents of a single character--if you want to include these characters in multi-character strings, Unicode is better. To find the Unicode value for a given character, display the Insert Glyph palette (choose Type>Insert Glyph), then move the cursor over the character you want to enter. InDesign's "hot help" will pop up a window containing the Unicode value for the character. To get the character into an InDesign text frame via VB, do something like this: Rem Add the registered trademark--Unicode 00AE--to a string. Rem Given a text frame "myTextFrame"... myTextFrame.TextContents = "TimeTravelTickets<00AE>" For more on Unicode, see <http://www.unicode.org>. Thanks, Ole
Technical Details
Message-ID:
<1de6a9e6.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!diablo.theplanet.net!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<43A99AFCB0D58EEC71624D3D6CCE2DA8@in.WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,76062e1139a58b2e X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-19 12:29:13 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!diablo.theplanet.net!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Constants Message-ID: <1de6a9e6.0@WebX.la2eafNXanI> Date: Tue, 19 Nov 2002 10:47:40 -0800 References: <43A99AFCB0D58EEC71624D3D6CCE2DA8@in.WebX.la2eafNXanI> Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit