๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #155276

Re: 40tude Dialog Beta 36 - script problem

#155276
From: Larry
Date: Tue, 07 Sep 2004 13:18
61 lines
3223 bytes
On Tue, 7 Sep 2004 12:27:59 +0200, Jo'Asia wrote:

> Marcus Mรถnnig wrote:
> 
>> *Jo'Asia*, 7 Sep. 04, 12:05:
>> 
>>> Could someone tell me where should I see the "Here I Go!" message? I can't
>>> see it anywhere...
>> 
>> Only use Writeln() when you run scripts from within the scripting window.
>> 
>> Try this:
>> 
>> program OnBeforeSendingMessage;
>> function OnBeforeSendingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean):boolean;
>> begin
>> writetolog('test',7);
>> result:=true;
>> end;
>> begin
>> end.
> 
> Thios one seems to be working. I'll try to reconstruct the script bit by
> bit and see if/when it fails to execute...
> 
> I just wanted to add that there is at least one more person with the same
> problem as mine - had old scripts, updated Dialog, recompiled scripts,
> scripts do not work...
> 
> Jo'Asia

I think that would be two people.  This script:

Program FormTest;
var aform:TForm;
    aEdit:TEdit;
    i:integer;
Begin
aform:=TForm.create(nil);
aedit:=Tedit.create(aform);
try
aedit.parent:=aform;
aedit.left:=(aform.width-aedit.width) div 2;
aedit.top:=(aform.height-aedit.height) div 2;
if achecked('ShowHeadersAction') then aedit.text:='Header are on!'
                                 else aedit.text:='Header are off!';
aform.showmodal;
finally
aedit.free;
aform.free;
end;
End.
-- 

So far as I know, it worked before the RCs, but it doesn't compile now.
Complains about TForm.  I think TForm is supposed to be a Delphi class, but
I'm not sure.  

Larry
email is rapp at lmr dot com
09/07/04 9:14:53 AM
Technical Details
Message-ID: <4q9xgb7x5whk.dlg@lmr.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsread.com!newsstand.newsread.com!POSTED.newshog.newsread.com!not-for-mail
References: <13jszx3om13qk.xfuvmn9gv3fd$.dlg@40tude.net> <14pjpd404uy16$.dlg@dustpuppy.sloth.hell.pl> <chfp8s$3qd$07$1@news.t-online.com> <1ip9ndnlp55qh$.dlg@dustpuppy.sloth.hell.pl> <chjv5j$uki$05$1@news.t-online.com> <1dzjnq1slie5f$.dlg@dustpuppy.sloth.hell.pl> <chk1oh$343$05$1@news.t-online.com> <1nxqfvknxzlln.dlg@dustpuppy.sloth.hell.pl>

Show Full Headers
Complete Article Headers
Message-ID: <4q9xgb7x5whk.dlg@lmr.com>
Subject: Re: 40tude Dialog Beta 36 - script problem
Date: Tue, 07 Sep 2004 13:18:01 GMT
From: Larry <spam@invalid.org>
References: <13jszx3om13qk.xfuvmn9gv3fd$.dlg@40tude.net> <14pjpd404uy16$.dlg@dustpuppy.sloth.hell.pl> <chfp8s$3qd$07$1@news.t-online.com> <1ip9ndnlp55qh$.dlg@dustpuppy.sloth.hell.pl> <chjv5j$uki$05$1@news.t-online.com> <1dzjnq1slie5f$.dlg@dustpuppy.sloth.hell.pl> <chk1oh$343$05$1@news.t-online.com> <1nxqfvknxzlln.dlg@dustpuppy.sloth.hell.pl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsread.com!newsstand.newsread.com!POSTED.newshog.newsread.com!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.13.1 (c3c90c61.158.381)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Face: ",uu?8Yp>r#1?dE'er0;
 c$]dffdG^PXjhNd1`f+M<1n_%Z*fWRe[i*M458jpN.VP/M%X`QN
 PvM=8'V}WCl7H/QBFdW}4I+jP"v5\0gu,r[G`#_\?S'60P-Mgf8M+; 3{$[sBA@;
 R_%NYCKl&M,M,#
Lines: 61
NNTP-Posting-Host: 69.24.8.72
X-Complaints-To: Abuse Role <abuse@ncia.net>, We Care <abuse@newsread.com>
X-Trace: newshog.newsread.com 1094563081 69.24.8.72 (Tue,
NNTP-Posting-Date: Tue, 07 Sep 2004 09:18:01 EDT
Organization: North Country Internet Access (ncia.net)