🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by Bo Stevens Sat, 10 Jan 2004 00:13
[Dialog] Adjust score for subject up?
#140890
Author: Bo Stevens
Date: Sat, 10 Jan 2004 00:13
3 lines
1333 bytes
I see that there are menu items to adjust score for a poster up or down, is
there an easy way via scripts to do this on a subject as opposed to a
poster?
Re: [Dialog] Adjust score for subject up?
#140906
Author: Enrico C
Date: Sat, 10 Jan 2004 07:10
19 lines
1702 bytes
Bo Stevens | news.software.readers
in <news:1b9wvdmce8yk8$.dlg@bostevens.com>

> I see that there are menu items to adjust score for a poster up or down, is
> there an easy way via scripts to do this on a subject as opposed to a
> poster?

You can do it in Scoring and Actions.

For instance

[news.software.readers]
+1 Subject "[Dialog] Adjust score for subject up?"

-- 
Enrico C

| 40tude Dialog Italy Cafe
| http://www.lillathedog.net/dialog/
Re: [Dialog] Adjust score for subject up?
#140929
Author: Bo Stevens
Date: Sat, 10 Jan 2004 17:59
22 lines
2043 bytes
On Sat, 10 Jan 2004 08:10:26 +0100, Enrico C wrote:

> Bo Stevens | news.software.readers
> in <news:1b9wvdmce8yk8$.dlg@bostevens.com>
> 
>> I see that there are menu items to adjust score for a poster up or down, is
>> there an easy way via scripts to do this on a subject as opposed to a
>> poster?
> 
> You can do it in Scoring and Actions.
> 
> For instance
> 
> [news.software.readers]
> +1 Subject "[Dialog] Adjust score for subject up?"

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.
Re: [Dialog] Adjust score for subject up?
#140941
Author: 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/
Re: [Dialog] Adjust score for subject up?
#140943
Author: MLC
Date: Sat, 10 Jan 2004 21:22
72 lines
3561 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
 s:='';
 myForm:=TForm.Create(nil);
 myForm.Width:=80;
 myForm.Height:=40;
 myMemo:=TMemo.Create(myForm);
 myMemo.Parent:=myForm;
 myMemo.Width:=50;
 s:=Readln('How many?');
 if s='' then exit;
 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 22.18.20, here.
http://fido.altervista.org/
Re: [Dialog] Adjust score for subject up?
#140952
Author: MLC
Date: Sat, 10 Jan 2004 22:04
57 lines
3142 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.

Program PutScore;
uses
   Forms,
   StdCtrls;

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

Begin
 s:='';
 myForm:=TForm.Create(nil);
 myForm.Width:=80;
 myForm.Height:=40;
 myMemo:=TMemo.Create(myForm);
 myMemo.Parent:=myForm;
 myMemo.Width:=50;
 s:=Readln('How many?');
 if s='' then exit;
 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 22.18.20, here.
http://fido.altervista.org/
Re: [Dialog] Adjust score for subject up?
#140995
Author: The Borg
Date: Sun, 11 Jan 2004 15:21
19 lines
1678 bytes
On Fri, 9 Jan 2004 18:13:34 -0600, Bo Stevens wrote:

> I see that there are menu items to adjust score for a poster up or down, is
> there an easy way via scripts to do this on a subject as opposed to a
> poster?

While this isn't a great option, I modified the Plonk Subject in the
settings.ini file to 

[Scoring]
DefSubjectPlonk=+10

I then added the icon to the toolbar.  Still have to add the expiration
date manually though.

-B

-- 
We are Borg, resitance is futile.
Re: [Dialog] Adjust score for subject up?
#141016
Author: Bo Stevens
Date: Mon, 12 Jan 2004 00:40
20 lines
2101 bytes
On Sat, 10 Jan 2004 23:04:06 +0100, MLC wrote:

> 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.

First, thank you so much for taking the time to write this script.  I am a
learning a lot about scripting in dialog via the scripts you have posted.
Eventually I will be able to write these myself and be less of a pain in the
future.  :-)

I was not very clear in my original post.  I was hoping that the script
would add an entry to the score file based on the subject line.  Your script
works great for rescoring an item in the article pane but does not create
the entry in the score file.  I may be asking the impossible but I thought I
would ask anyway.  ;-)

Bo
Re: [Dialog] Adjust score for subject up?
#141077
Author: Alain GUERIN
Date: Mon, 12 Jan 2004 16:47
17 lines
2047 bytes
Hello,


On Sun, 11 Jan 2004 18:40:01 -0600, Bo Stevens wrote:


> I was not very clear in my original post.  I was hoping that the script
> would add an entry to the score file based on the subject line.  


Just another question: what is your aim ? Is it to be sure to retrieve
easily this subject and follow the discussion ? In that case, there are
other ways with Dialog, like using the watch flag.


-- 
A.G.
Re: [Dialog] Adjust score for subject up?
#141206
Author: Bo Stevens
Date: Wed, 14 Jan 2004 04:58
25 lines
2303 bytes
On Mon, 12 Jan 2004 17:47:36 +0100, Alain GUERIN wrote:

>> I was not very clear in my original post.  I was hoping that the script
>> would add an entry to the score file based on the subject line.  
> 
> 
> Just another question: what is your aim ? Is it to be sure to retrieve
> easily this subject and follow the discussion ? In that case, there are
> other ways with Dialog, like using the watch flag.

I like to use dialog as an offline reader and as such I retrieve all the
articles with the headers.   I sort all the articles based on score to make
sure that any subjects of interest are at the top and brought to my
attention.

Adding a watch flag does not really do much of anything for me except add an
icon to the header list line.  I asked earlier about scoring based on status
but I understand that this is not currently possible.  I was not able to
find a sort either to sort watched articles to the top.

If I mark subjects of interest as watched I am looking for some way to get
these messages sorted to the top.

Thanks
Bo
Re: [Dialog] Adjust score for subject up?
#141215
Author: Alain GUERIN
Date: Wed, 14 Jan 2004 07:29
26 lines
2521 bytes
Hello,


On Tue, 13 Jan 2004 22:58:53 -0600, Bo Stevens wrote:

> Adding a watch flag does not really do much of anything for me except add an
> icon to the header list line.  I asked earlier about scoring based on status
> but I understand that this is not currently possible.  I was not able to
> find a sort either to sort watched articles to the top.

> If I mark subjects of interest as watched I am looking for some way to get
> these messages sorted to the top.


At least, you can use the view option (manage view, watched case checked)
and select only watched messages. If you have one of the "by thread"
display, you will have all the discussions where there are watched
messages. Then you can read the unread messages in the discussions you
selected.

But as usual, one user's way is not suitable for another. So I don't know
if it is a solution to solve your whish.


-- 
A.G.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads