🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by pr Mon, 31 Jan 2005 17:41
[Dialog] Refresh view when clicking on group?
#161690
Author: pr
Date: Mon, 31 Jan 2005 17:41
18 lines
1486 bytes
Dialog newbie here after so many years with Gravity.

I have added the script from the Wiki script library that downloads
newsgroup headers when I click on the newsgroup name, which works well.  I
would like to add to this script the proper command that refreshes the view
so that only unread messages/threads appear after new headers are
downloaded.

Is there a way to do this?

-- 
Peter





Re: [Dialog] Refresh view when clicking on group?
#161717
Author: Melissa
Date: Mon, 31 Jan 2005 22:03
38 lines
2563 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Peter,

On Mon, 31 Jan 2005 12:41:54 -0500, you wrote:

> I have added the script from the Wiki script library that downloads
> newsgroup headers when I click on the newsgroup name, which works
> well.  I would like to add to this script the proper command that
> refreshes the view so that only unread messages/threads appear
> after new headers are downloaded.

> Is there a way to do this?

Perhaps someone will come up with a scripting solution for you, but in
the meanwhile, you could do what I do, which is just a simple
keyboard shortcut away from being fully automatic... 

I have a simple "view" filter that displays unread messages with
their complete threads.  Switching to this, or any other filtered
view, is just a matter of hitting an easy keyboard shortcut or
clicking the option from the little drop down menu in the upper right
corner of the message list pane. 

You can customize your view filters by going to the "Manage Views"
options (by default, hitting Ctrl+F12 will bring you directly to this
"Manage Views" panel).

- -- 
Melissa

-----BEGIN PGP SIGNATURE-----

iD8DBQFB/qsUKgHVMc6ouYMRAuvYAKDQchP2vT9vVbEzAHExd7VxIJ9niwCdGJGA
EpTTLbViGoISlgrGWHia9fQ=
=6shE
-----END PGP SIGNATURE-----
Re: [Dialog] Refresh view when clicking on group?
#161719
Author: Melissa
Date: Mon, 31 Jan 2005 22:23
22 lines
1758 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi again,

On Mon, 31 Jan 2005 14:03:26 -0800, I wrote:

> ...or clicking the option from the little drop down menu in the
> upper right corner of the message list pane.

Oops!  I should have written "upper left corner of the message list
pane".  Sorry about that! :-)

- -- 
Melissa

-----BEGIN PGP SIGNATURE-----

iD8DBQFB/q/fKgHVMc6ouYMRAlN2AJ91YJMq4Jj10aJ/+pzfZc2uplVpGwCgs5wk
D437qtfJdw7MVQaPCxqxlhA=
=4+pr
-----END PGP SIGNATURE-----
Re: [Dialog] Refresh view when clicking on group?
#161748
Author: Peter R.
Date: Tue, 01 Feb 2005 03:03
20 lines
1802 bytes
Melissa <willkayakforfoodREMOVE_THIS@gmx.net> wrote:

> I have a simple "view" filter that displays unread messages with
> their complete threads.  Switching to this, or any other filtered
> view, is just a matter of hitting an easy keyboard shortcut or
> clicking the option from the little drop down menu in the upper right
> corner of the message list pane.

Thank you, Melissa.  I was hoping there would be a way to add this to the
script that fires when I click on the newsgroup name, but for the time
being I will do what you suggested.

-- 
Peter





Re: [Dialog] Refresh view when clicking on group?
#161752
Author: Melissa
Date: Tue, 01 Feb 2005 03:31
39 lines
2731 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Peter,

On Mon, 31 Jan 2005 22:03:36 -0500, you wrote:

> I was hoping there would be a way to add this to the script that
> fires when I click on the newsgroup name, but for the time being I
> will do what you suggested.

One more thing (which you've probably figured out already, but I'll
mention just in case)... 

Once you have the new messages/threads view filter invoked, it will
remain as the message view for all groups until you change the view
to something else (at least during that session; as long as you don't
close/re-open the program).  This way, every time you click on a
different news group, the message list view will already be "new
messages/threads"; no need to keep invoking the view filter while
switching from one group to another. 

Small note:  If you stay in the same group, and periodically click on
the group name to retrieve new messages (or use a script that will
automatically check for new messages at pre-set intervals), threads
who's messages are now all marked as "read" will still be there.
However, if you move to a different group, then come back to the
original group, the view will again only contain threads with new
messages in them.

- -- 
Melissa

-----BEGIN PGP SIGNATURE-----

iD8DBQFB/vfxKgHVMc6ouYMRAh8UAKD+vBPRl/rDk2yy15pZ2ZyoHvIHPQCgpanz
aIt7cR67wXX9ps7zfsT6OnU=
=NM4M
-----END PGP SIGNATURE-----
Re: [Dialog] Refresh view when clicking on group?
#161795
Author: RJB
Date: Tue, 01 Feb 2005 17:54
31 lines
1701 bytes
On Mon, 31 Jan 2005 12:41:54 -0500, pr wrote:

> Dialog newbie here after so many years with Gravity.
> 
> I have added the script from the Wiki script library that downloads
> newsgroup headers when I click on the newsgroup name, which works well.  I
> would like to add to this script the proper command that refreshes the view
> so that only unread messages/threads appear after new headers are
> downloaded.
> 
> Is there a way to do this?

program NGLV_WM_LBUTTONUP;

procedure OnWMessage(var Msg:TMessage;var handled:boolean);
begin
ADo('GetNewHeadersInSelectedGroups');
Ado('RefreshView'); ####<---- add this line
end;

begin
end.


Make sure your view is set to #2 Unread Messages
-- 
RJB
2/1/2005 12:49:42 PM

Kill my boss? Do I dare live out the American dream?
--Homer Simpson
Re: [Dialog] Refresh view when clicking on group?
#161797
Author: pr
Date: Tue, 01 Feb 2005 17:58
25 lines
1583 bytes
RJB <robartle@NOSPAM.hotmail.com> wrote:

> program NGLV_WM_LBUTTONUP;
> 
> procedure OnWMessage(var Msg:TMessage;var handled:boolean);
> begin
> ADo('GetNewHeadersInSelectedGroups');
> Ado('RefreshView'); ####<---- add this line
> end;
> 
> begin
> end.

Worked like a charm and was exactly what I was looking for.

Thank you.

-- 
Peter





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