Article View: news.software.readers
Article #126195Re: [Dialog] Postkey in scripts
From: Juergen Haible
Date: Tue, 10 Jun 2003 12:55
Date: Tue, 10 Jun 2003 12:55
30 lines
2221 bytes
2221 bytes
Alain GUERIN:
> IF VKInfo > -1 THEN
IF VKInfo <> -1 THEN
> The next thing I would like, is a way to "read" the news group name in the
> message creation window so I can adapt my prompt to each particular group
> (at least have 'Bonjour,' or 'Hello,' following the common group language ).
I see no easy way for doing so, but I'm rather sure most people will
understand "Bonjour" as well ... ;-)
> I also saw that the textfile functions are bugged so I will not build a text
> file with a particular prompt for each group ;-(
I rarely use textfile functions ... TStringList is much easier to use:
var list: TStringList;
...
list := TStringList.Create();
list.LoadFromFile( 'filename' );
writeln( list.Text );
for i := 0 to list.Count - 1 do writeln( list.Strings[i] );
list.Add( 'append line' );
list.SaveToFile( 'filename.new' );
list.Free;
-jh-
Technical Details
Message-ID:
<f40y7yom8nen$.dlg@ndqf.elbiah.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!arclight.uoregon.edu!newsfeed!btnet-peer0!btnet-peer1!btnet!newsfeed.lhr.globix.net!nella.toplink-plannet.de!feed.news.toplink-plannet.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<3ee42df7$0$12450$626a54ce@news.free.fr> <1v0b6a1fkg6ee.dlg@ndqf.elbiah.de> <3ee509ed$0$12468$626a54ce@news.free.fr> <3ee52269$0$12457$626a54ce@news.free.fr>Show Full Headers
Complete Article Headers
Message-ID: <f40y7yom8nen$.dlg@ndqf.elbiah.de> Subject: Re: [Dialog] Postkey in scripts Date: Tue, 10 Jun 2003 14:55:40 +0200 From: Juergen Haible <juergen.haible@t-online.de> References: <3ee42df7$0$12450$626a54ce@news.free.fr> <1v0b6a1fkg6ee.dlg@ndqf.elbiah.de> <3ee509ed$0$12468$626a54ce@news.free.fr> <3ee52269$0$12457$626a54ce@news.free.fr> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!arclight.uoregon.edu!newsfeed!btnet-peer0!btnet-peer1!btnet!newsfeed.lhr.globix.net!nella.toplink-plannet.de!feed.news.toplink-plannet.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.readers Organization: T-Online Lines: 29 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1055249880 02 9008 vIrXVw6TS0-sL9 030610 12:58:00 X-Complaints-To: usenet-abuse@t-online.de X-ID: S9Q1rkZTQeDjSgUBkw7tz03mJCjVMgNlXjtAqdh79Wi-Uw385UojQK User-Agent: 40tude_Dialog/2.0.4.1 (4c263486.362.128) Hamster-Pg/1.10.0.4