🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #135927

Re: [Dialog] Script to apply sorting

#135927
From: Malu'
Date: Wed, 22 Oct 2003 09:16
32 lines
2319 bytes
Wed, 22 Oct 2003 02:40:22 GMT
 The Borg ha scritto:

> Anyone write a script that will Apply Sorting to all subscribed groups at
> once?  Right now, in order to clear Read messages in a group I have to
> click on the Apply Sorting each time I enter the group.  I'd like some way
> to start with a clean header area, so to speak.
> 
I guess you enter the group by clicking on its name in the NG list.
Then it should be enough the command ADo('RefreshView') in the
OnGroupEntered event. If you like also to have all the messages collapsed
and the first message selected, you can add also the commands
ADo('FirstMessage') and ADo('CollapseAllThreads'), otherwise cut them off.
The script:

program OnGroupEntered;

procedure OnGroupEntered(Groupname: string);
begin
ADo('FirstMessage');
ADo('CollapseAllThreads');
ADo('RefreshView');
end;

begin
end.

Ciao,
-- 
Maria Luisa - 22/10/2003 11.04.29, here.
The next war will determine not what is right, but what is left.
Now playing: nothing, and savouring the silence.
Technical Details
Message-ID: <3onpuq9rfzto$.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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!ppp-71-192.26-151.libero.IT!not-for-mail
References: <1g5ysr9vk3hbn.1oqlztcrb1wlj.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <3onpuq9rfzto$.dlg@ID-187316.user.uni-berlin.de>
Subject: Re: [Dialog] Script to apply sorting
Date: Wed, 22 Oct 2003 11:16:13 +0200
From: Malu' <maluc52@yahoo.it>
References: <1g5ysr9vk3hbn.1oqlztcrb1wlj.dlg@40tude.net>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!ppp-71-192.26-151.libero.IT!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 32
NNTP-Posting-Host: ppp-71-192.26-151.libero.it (151.26.192.71)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1066814184 31042273 151.26.192.71 (16 [187316])
X-Now-Playing: nothing, and savouring the silence.
User-Agent: 40tude_Dialog/2.0.7.1 (472b828b.66.402)
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