Article View: news.software.readers
Article #265141Re: [dialog] Can I set dialog to edit in Notepad++
From: Quinn C
Date: Fri, 13 Aug 2021 23:13
Date: Fri, 13 Aug 2021 23:13
44 lines
2910 bytes
2910 bytes
* bill:
> How do you get _TWO_ OnBeforeSendingMessage procedures to work sequentially?
Here's how my OnBeforeSendingMessage looks like:
program OnBeforeSendingMessage;
uses textfile, Forms, StdCtrls;
{$I Include_AddFaceHeader.ds}
{$I CancelLock_include.ds}
{$I RemoveAnyHeader_include.ds}
{$I Include_AddAnyHeader.ds}
function OnBeforeSendingMessage(var Message: TStringlist; Servername:
string; IsEmail: boolean):boolean;
begin
result:=true;
AddFaceHeader ( Message, IsEmail );
CLMain_CancelLock (Message, IsEmail);
// Remove_Headers (Message, IsEmail );
// AddAnyHeader ('X-CustomScript: AddAnyHeader', Message, IsEmail);
// AddAnyHeader ('X-ScriptMadeBy: me, myself & I', Message,
IsEmail);
// AddAnyHeader ('X-NoArchive: banter', Message, IsEmail);
end;
begin
end.
The point, the clean solution is to call other "custom scripts" from
this one.
--
No ... it's a good thing that one of the most famous bigots
in the country [now supports Bernie].
-- Page Kreisman, talking about Joe Rogan
Technical Details
Message-ID:
<1cq70yuf479cr$.dlg@mid.crommatograph.info>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<sevelu$1qrk$1@gioia.aioe.org> <l01qbjvknuqe.dlg@v.nguard.lh> <sf0pg9$16vs$1@gioia.aioe.org> <20210811163605.abc503d2af7b32d36dd31e34@127.0.0.1> <sf12g8$1bn1$1@gioia.aioe.org> <aje23prjgwng.dlg@v.nguard.lh> <sf23af$18a9$1@gioia.aioe.org> <1qaeainv3x9gl$.dlg@b.rose.tmpbox.news.arcor.de> <sf3f6h$k0u$1@gioia.aioe.org> <86lyjunafj21$.dlg@b.rose.tmpbox.news.arcor.de> <70r516k5wr9t$.dlg@v.nguard.lh> <1lo779jiegvl3$.dlg@b.rose.tmpbox.news.arcor.de> <sf4ube$r5v$1@gioia.aioe.org> <an0k6nzbgcqh$.dlg@b.rose.tmpbox.news.arcor.de> <sf668m$408$1@gioia.aioe.org> <sf6aii$54t$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <1cq70yuf479cr$.dlg@mid.crommatograph.info>
Subject: Re: [dialog] Can I set dialog to edit in Notepad++
Date: Fri, 13 Aug 2021 19:13:47 -0400
From: Quinn C <lispamateur@crommatograph.info>
References: <sevelu$1qrk$1@gioia.aioe.org> <l01qbjvknuqe.dlg@v.nguard.lh> <sf0pg9$16vs$1@gioia.aioe.org> <20210811163605.abc503d2af7b32d36dd31e34@127.0.0.1> <sf12g8$1bn1$1@gioia.aioe.org> <aje23prjgwng.dlg@v.nguard.lh> <sf23af$18a9$1@gioia.aioe.org> <1qaeainv3x9gl$.dlg@b.rose.tmpbox.news.arcor.de> <sf3f6h$k0u$1@gioia.aioe.org> <86lyjunafj21$.dlg@b.rose.tmpbox.news.arcor.de> <70r516k5wr9t$.dlg@v.nguard.lh> <1lo779jiegvl3$.dlg@b.rose.tmpbox.news.arcor.de> <sf4ube$r5v$1@gioia.aioe.org> <an0k6nzbgcqh$.dlg@b.rose.tmpbox.news.arcor.de> <sf668m$408$1@gioia.aioe.org> <sf6aii$54t$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Cancel-Lock: sha1:wuCJWct4FNHos8WSo+AMawC0XF8=
Newsgroups: news.software.readers
Organization: Computers don't get me 'cause I'm non-binary
X-Complaints-To: abuse@tweaknews.nl
Mime-Version: 1.0
X-Face: .f:ZE>c\~9oJ+1nK#>ntSHOQS~4x"Qx2m(<D<@p$G"tzb1lgWLUGY.zApKa@VL_?d$r(8=?VjrD9=uY:x!+H=hvj58Uw7)Y9<:KMYD.+^~#qMpeg2rvt`{#2a~7YoyFaFaBEdo4.TJzBqgtCZZ:mku4J|hey}DE}_"z(rl0N)\Pxh*0$"3B2mr\01&YPY7WJ:2kSe'I#PqiTxs1s49!S#W85'\zMXy*wRgD,,k.=4:3M{(P"i6S;\az~ut3z`;?*Y;&]11<(EPF-SN`|3PhyL%~AuZpoFjjE_oM1`znHPq_?uib2WXwE+q@m),cLq~B$r^5uO]u6?CEecn=%xsDXNVa(1DX.)O(
Content-Transfer-Encoding: 7bit
Lines: 44
Nntp-Posting-Date: Fri, 13 Aug 2021 23:13:49 UTC
Content-Type: text/plain; charset="us-ascii"
User-Agent: 40tude_Dialog/2.0.15.41