🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #137435

Re: [Dialog] Help with script

#137435
From: Larry
Date: Thu, 13 Nov 2003 18:56
49 lines
3120 bytes
On Wed, 12 Nov 2003 23:58:48 +0100, Enrico Bauer wrote:

> 12.11.2003 23:18:08, *Larry*:
> 
> You can achieve both.
> 
>> Is there any way to add your own button?  There doesn't seem to be anything
>> appropriate.  What I want to do is to create a button which essentially
>> resets the group - which is what the script does (now, with your help!)
> 
> Settings - Configure buttons/Shortcuts - Scripts - drag'n'drop the
> respective script (or some other function) from the window onto a
> toolbar.

Ok, I see.  That works, although the "button" is a text string.  No matter,
it does get there.

> But that's actually not necessary: You can collapse all threads in a
> group just by pressing [Shift][-].

True, but that doesn't reset the pointer to the first message.  

>> Otherwise, I need to have this happen automatically when leaving a group.
> 
> Program SkipToNextGroup;
> Begin
> lockdisplay;
> try
> ADo('CollapseAllThreads');
> ADo('SkipToNextUnreadNewsgroup');
> ADo('RefreshView');
> ADo('ArticlePane');
> finally
> unlockdisplay;
> end;
> End.

That doesn't seem to work.  I made it into a button, but it still doesn't
seem to do anything.  However, it is sitting in Custom scripts.  Is this
the right place?  I also tried adding ADo('FirstMessage'); after and before
the ADo('CollapseAllThreads'); but that didn't matter.  Either pressing the
button or leaving the group doesn't seem to have an effect.  I am probably
missing something, but I can't see what.

Thanks, Enrico
-- 

Larry
email is rapp at lmr dot com
Technical Details
Message-ID: <1hywudqhxpccj$.18zz4h2s8357o$.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!newshosting.com!news-xfer2.atl.newshosting.com!yellow.newsread.com!news-toy.newsread.com!netaxs.com!newsread.com!POSTED.monger.newsread.com!not-for-mail
References: <1y0brwo70al3o$.17qqkj3hvtskb$.dlg@40tude.net> <96oem92zss7.dlg@ID-5349.user.dfncis.de> <fo2kru9lh89m$.xcntk5h8zl07.dlg@40tude.net> <1x20dvhjcgxzw.dlg@ID-5349.user.dfncis.de> <1548sane23xpx$.11nomsbrnvcl8.dlg@40tude.net> <1drvuiy8ijeix.dlg@ID-5349.user.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <1hywudqhxpccj$.18zz4h2s8357o$.dlg@40tude.net>
Subject: Re: [Dialog] Help with script
Date: Thu, 13 Nov 2003 18:56:40 GMT
From: Larry <lmrapp@nospam.org>
References: <1y0brwo70al3o$.17qqkj3hvtskb$.dlg@40tude.net> <96oem92zss7.dlg@ID-5349.user.dfncis.de> <fo2kru9lh89m$.xcntk5h8zl07.dlg@40tude.net> <1x20dvhjcgxzw.dlg@ID-5349.user.dfncis.de> <1548sane23xpx$.11nomsbrnvcl8.dlg@40tude.net> <1drvuiy8ijeix.dlg@ID-5349.user.dfncis.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!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!newshosting.com!news-xfer2.atl.newshosting.com!yellow.newsread.com!news-toy.newsread.com!netaxs.com!newsread.com!POSTED.monger.newsread.com!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.8.1 (67118fdd.205.302)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: nospam@nospam.org
Lines: 49
NNTP-Posting-Host: 69.24.8.72
X-Complaints-To: Abuse Role <abuse@ncia.net>, We Care <abuse@newsread.com>
X-Trace: monger.newsread.com 1068749800 69.24.8.72 (Thu,
NNTP-Posting-Date: Thu, 13 Nov 2003 13:56:40 EST
Organization: North Country Internet Access (ncia.net)