🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19978

Re: How to add a newline to a textframe?

#19978
From: Olav Kvern
Date: Sat, 09 Nov 2002 17:23
27 lines
1715 bytes
pieter-- 

It's in the online help for the VBA library (which is included in most Visual Basic projects by default). Here's the listing from the online help file: 

vbCr Chr(13) Carriage return 

vbCrLf Chr(13) & Chr(10) Carriage return�linefeed combination 

vbFormFeed Chr(12) Form feed; not useful in Microsoft Windows 

vbLf Chr(10) Line feed 

vbNewLine Chr(13) & Chr(10) or Chr(10) Platform-specific newline character; whatever is appropriate for the platform 

vbNullChar Chr(0) Character having the value 0 

vbNullString String having value 0 Not the same as a zero-length string (""); used for calling external procedures 

vbTab Chr(9) Horizontal tab 

vbVerticalTab Chr(11) Vertical tab; not useful in Microsoft Windows 

You can also view these constants (and other useful stuff) by looking at the VBA object library in the Bisual Basic Object Browser (press F2). 

Thanks, 

Ole
Technical Details
Message-ID: <1de682e2.2@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de682e2.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,ab104dab91aa7fb2
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-09 09:46:05 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!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: How to add a newline to a textframe?
Message-ID: <1de682e2.2@WebX.la2eafNXanI>
Date: Sat, 9 Nov 2002 09:23:44 -0800
References: <1de682e2.-1@WebX.la2eafNXanI>
Lines: 32
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit