🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #114805

Re: [Dialog] Collapsing thread in a script

#114805
From: Marcus Mönnig
Date: Thu, 21 Nov 2002 11:53
29 lines
2084 bytes
Mike Eriksson wrote in <1ldbdgcd0adqc$.9837bxl9u5w1$.dlg@40tude.net>:

> Is there someway to collapse all threads for all groups via a script?
> 
> if I use ADo('CollapseAllThreads'); then only the current group will be 
> processed.

If you are using the mouse to open groups you can use this message script:

program NGLV_WM_LBUTTONUP;

procedure OnWMessage(var Msg:TMessage;var handled:boolean);
begin
//Your code goes here
ADo('CollapseAllThreads');
end;

begin
end.

If I remember right, there is a deadlock problem with this script with the 
current open beta version, but this will work with the next release.

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Technical Details
Message-ID: <4ad6ettse9uw.dlg@40tude.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <1ldbdgcd0adqc$.9837bxl9u5w1$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <4ad6ettse9uw.dlg@40tude.com>
Subject: Re: [Dialog] Collapsing thread in a script
Date: Thu, 21 Nov 2002 12:53:20 +0100
From: Marcus Mönnig <usenet-nov02@40tude.com>
References: <1ldbdgcd0adqc$.9837bxl9u5w1$.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 28
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1037879595 04 3768 f83EE8MS1AlKb 021121 11:53:15
X-Complaints-To: abuse@t-online.com
X-Sender: 520046593153-0001@t-dialin.net
X-Face: .k.-$2:"SOnv`$+._5GWLVbo=\AYg!R'T#G[$P`Chd0T$NtF2}68aF}1gRDrxTQi']7Ldza n{+d:rTHS*nc<xt?o:zVx>3P$=`rx}:o1!BA'OmJn(lR=Y%mG{*T#D-B02=:Dh0138$V
User-Agent: 40tude_Dialog/2.0.2.65 (522d8016.302.259)