🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #140941

Re: [Dialog] Adjust score for subject up?

#140941
From: MLC
Date: Sat, 10 Jan 2004 21:05
69 lines
3416 bytes
sabato 10/gen/2004 _Bo Stevens_ ha scritto:

> I have a lot of scoring actions for items of general interest.  I was hoping
> for something similar to XNews, I really don't like manually creating a
> scoring rule for each thread that I want I would like to sort to the top
> (via a higher score).  It would be great to have a hotkey that would create
> a scoring action based on the subject allowing one to select the expiration
> date and the score amount.

Hi Bo,
I've made this script that allows you to put a new score on the selected
message hitting an hotkey and inserting the number you want.
Unfortunately, there isn't an expiration date: you have to put a score of 0
for that.
(take care of the word wrapping in this post)

Program PutScore;
uses
   Forms,
   StdCtrls;

var
   s:string;
   myForm : TForm;
   myMemo : TMemo;

function EmptyClipboard:boolean; external 'EmptyClipboard@user32.dll
stdcall';
function OpenClipboard(hWndNewOwner: INTEGER):boolean; external
'OpenClipboard@user32.dll stdcall';
function CloseClipboard:boolean; external 'CloseClipboard@user32.dll
stdcall';

procedure ClearCLipboard;
begin
 OpenClipboard(0);
 EmptyClipboard;
 CloseClipboard;
end;

Begin
 myForm:=TForm.Create(nil);
 myForm.Width:=80;
 myForm.Height:=40;
 myMemo:=TMemo.Create(myForm);
 myMemo.Parent:=myForm;
 myMemo.Width:=50;
 s:=Readln('How many?');
 myMemo.Text:=s;
 myMemo.SelectAll;
 myMemo.CopyToClipboard;
 
 PostKey(77, false, true, false, false, false, false, false, false);
 //the above is 80 for the Italian version;
 
 PostKey(9, false, false, false, false, false, false, false, false);
 PostKey(86, false, false, true, false, false, false, false, false);
 PostKey(13, false, false, false, false, false, false, false, false);
 ADo('MessageProperties');
 myForm.free;
End.

Save and compile with Ctr-F9 (not with the green triangles), then assign a
hotkey.

HTH
-- 
Maria Luisa C - 10/01/2004 21.50.40, here.
http://fido.altervista.org/
Technical Details
Message-ID: <1wns2u7txbl86$.dlg@ID-187316.user.uni-berlin.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.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!nntp2.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!ppp-167-193.26-151.libero.IT!not-for-mail
References: <1b9wvdmce8yk8$.dlg@bostevens.com> <21d3l4fp5qcx.dlg@news.lillathedog.net> <12dwb1yhg2gzv$.dlg@bostevens.com>

Show Full Headers
Complete Article Headers
Message-ID: <1wns2u7txbl86$.dlg@ID-187316.user.uni-berlin.de>
Subject: Re: [Dialog] Adjust score for subject up?
Date: Sat, 10 Jan 2004 22:05:50 +0100
From: MLC <maluc52@yahoo.it>
References: <1b9wvdmce8yk8$.dlg@bostevens.com> <21d3l4fp5qcx.dlg@news.lillathedog.net> <12dwb1yhg2gzv$.dlg@bostevens.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!nntp2.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!ppp-167-193.26-151.libero.IT!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 69
Reply-To: mlcald@msn.com
NNTP-Posting-Host: ppp-167-193.26-151.libero.it (151.26.193.167)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1073768753 10589132 151.26.193.167 ([187316])
User-Agent: 40tude_Dialog/2.0.10.1it (998a8aea.131.361)
X-Face: (O6iue.kQNT|`uU@vD|.WKC^TF~T<TIA,\;
 B'27kz>*1Mk|Z6U!2EKSFc')'xVk]t'/3<,#
 #L+5&I{L<!Q%p[k|+%mSCT"e2\4JnDJhbQ,`EA4fu$q0q>{7W?\gQeqD@*lzcR0~:9Zzn!1yCRb