🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #138623

Re: [Dialog] Script to collapse threads

#138623
From: Rogerh
Date: Wed, 03 Dec 2003 17:17
32 lines
2160 bytes
On Wed, 03 Dec 2003 17:05:17 GMT, AximGuy wrote:

> On Wed, 3 Dec 2003 16:35:36 +0000, Rogerh wrote:
> 
>> Whenever I enter a group the threads are all expanded.  I've tried playing
>> with scripts to see if when I enter a group all threads collapse, but can't
>> seem to get anything to work.
>> 
>> Anyone got any ideas, still fairly new to Dialog and trying to get my head
>> around scripting :-)
>> 
>> Roger
> 
> Go to the Event tab.
> Go to OnGroupEntered 
> Click on "new script" (Ctrl N)
> Add this where "your code here" is indicated:  
> 
> ADo('CollapseAllThreads');
> 
> Save the script and exit.
> The next group you enter should show collapsed threads.

Excellent, seems to work ok.  Thanks very much

Roger

-- 
REMOVE INVALID TO REPLY
Roger Haynes
1/12 Nb 'Kinver'
Air Traffic Controllers do it with *minimum* separation.
Technical Details
Message-ID: <1b7il2uknk0tq$.1j0f23ezgzs6g.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!213.218.66.70.MISMATCH!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!borium.box.nl!fu-berlin.de!uni-berlin.de!public3-fare2-6-cust22.cosh.broadband.ntl.COM!not-for-mail
References: <1wz29ywp0uyue$.1j79ys33472oz$.dlg@40tude.net> <1lgbdljkpbiec.wakj74id4uii.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <1b7il2uknk0tq$.1j0f23ezgzs6g.dlg@40tude.net>
Subject: Re: [Dialog] Script to collapse threads
Date: Wed, 3 Dec 2003 17:17:38 +0000
From: Rogerh <rogerh@invalid.clara.co.uk>
References: <1wz29ywp0uyue$.1j79ys33472oz$.dlg@40tude.net> <1lgbdljkpbiec.wakj74id4uii.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!213.218.66.70.MISMATCH!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!borium.box.nl!fu-berlin.de!uni-berlin.de!public3-fare2-6-cust22.cosh.broadband.ntl.COM!not-for-mail
Newsgroups: news.software.readers
Organization: Private
Lines: 32
Sender: RogerH <>
NNTP-Posting-Host: public3-fare2-6-cust22.cosh.broadband.ntl.com
 (81.107.132.22)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1070471862 71040304 81.107.132.22 ([7999])
User-Agent: 40tude_Dialog/2.0.8.1