🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #138621

Re: [Dialog] Script to collapse threads

#138621
From: AximGuy
Date: Wed, 03 Dec 2003 17:05
20 lines
1751 bytes
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.
Technical Details
Message-ID: <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!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail
References: <1wz29ywp0uyue$.1j79ys33472oz$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <1lgbdljkpbiec.wakj74id4uii.dlg@40tude.net>
Subject: Re: [Dialog] Script to collapse threads
Date: Wed, 03 Dec 2003 17:05:17 GMT
From: AximGuy <Aximguy@no.ipaqs>
References: <1wz29ywp0uyue$.1j79ys33472oz$.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!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.8.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: - <>
Lines: 20
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.