Article View: news.software.readers
Article #265136Re: [dialog] Can I set dialog to edit in Notepad++
From: bill
Date: Fri, 13 Aug 2021 16:23
Date: Fri, 13 Aug 2021 16:23
30 lines
2293 bytes
2293 bytes
On Fri, 13 Aug 2021 18:15:36 +0200, Bernd Rose wrote:
> http://web.archive.org/web/20120127150159/http://dialog.datalist.org/scripts/ScriptSaveOutboundMessage.html
Thanks for unearthing that as I was looking through the wayback machine
and guessing that the editor was either "notepad" or "vim" or "emacs", etc.
> To cite his final note:
> | Obviously any other external program can be used as well.
After changing the program below from "korrnews" to "notepad++",
since I already have an OnBeforeSendingMessage script, do I just
concatenate this after the existing OnBeforeSendingMessage script?
program OnBeforeSendingMessage;
function OnBeforeSendingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean):boolean;
begin
result:=true;
message.savetofile('C:\temp.txt');
//give korrnews 5000 milliseconds for this, otherwise give up
FileExecute(0,'F:\Korrnews\korrnews.exe','open','Type:news Filename:"C:\temp.txt"','',1,5000);
message.loadfromfile('C:\temp.txt');
end;
begin
end.
--
So I used a blunt pencil yesterday...
It was pointless.
Technical Details
Message-ID:
<sf668m$408$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-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>Show Full Headers
Complete Article Headers
Message-ID: <sf668m$408$1@gioia.aioe.org> Subject: Re: [dialog] Can I set dialog to edit in Notepad++ Date: Fri, 13 Aug 2021 18:23:02 +0200 From: bill <bill@spam.invalid> 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> 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 Newsgroups: news.software.readers Organization: Aioe.org NNTP Server User-Agent: 40tude_Dialog/2.0.15.41 (51e03d8d.9.298) Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Notice: Filtered by postfilter v. 0.9.2