Article View: news.software.readers
Article #137604Re: [Dialog] Help with script
From: Larry
Date: Sun, 16 Nov 2003 18:42
Date: Sun, 16 Nov 2003 18:42
59 lines
3623 bytes
3623 bytes
On Sun, 16 Nov 2003 13:19:22 +0100, Enrico Bauer wrote:
> 13.11.2003 19:56:40, *Larry*:
>> On Wed, 12 Nov 2003 23:58:48 +0100, Enrico Bauer wrote:
>>>> 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 use it. "It is mine and I own it. That's what it is."
>
>> 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?
>
> Did you try to call t with a shortcut?
Yes, ctrl-space, didn't work there either, but I found the problem.
I'm not sure how I managed to do theis, but when I did a compile I didn't
get any message. Note, I mean ANY message, including "Successfully
compiled". Somehow, I managed to minimize the debug output window so that
messages were no longer visible. Once I straightened that out, and
compiled it again, I saw that there was a syntax error in
ADo('ArticlePane'); - I left out the second single quote - so it never
compiled.
>> I also tried adding ADo('FirstMessage'); after and before
>> the ADo('CollapseAllThreads'); but that didn't matter.
>
> If the script is not called that's what could be expected. :-)
>
>> I am probably missing something, but I can't see what.
>
> You did save *and* compile it, didn't you?
Yes, but see above.
Now, I would just like to make this the default behavior when leaving a
group. I would expect that to make that happen, I would need to have an
event like "OnAboutToLeaveNewsgroup" and trigger the above script, minus
ADo('SkipToNextUnreadNewsgroup'); before going to the next group.
I guess I'll just leave it for use with a button or shortcut for now.
Thanks for your help.
--
Larry
email is rapp at lmr dot com
Technical Details
Message-ID:
<12mpp5kq54q1c$.1uqjim7w2g1y6.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!yellow.newsread.com!news-toy.newsread.com!netaxs.com!newsread.com!POSTED.newshog.newsread.com!not-for-mailReferences:
<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> <1hywudqhxpccj$.18zz4h2s8357o$.dlg@40tude.net> <ce5zf8rogqnw$.dlg@ID-5349.user.dfncis.de>Show Full Headers
Complete Article Headers
Message-ID: <12mpp5kq54q1c$.1uqjim7w2g1y6.dlg@40tude.net> Subject: Re: [Dialog] Help with script Date: Sun, 16 Nov 2003 18:42:27 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> <1hywudqhxpccj$.18zz4h2s8357o$.dlg@40tude.net> <ce5zf8rogqnw$.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!yellow.newsread.com!news-toy.newsread.com!netaxs.com!newsread.com!POSTED.newshog.newsread.com!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.8.1 (b596fb07.149.374) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: nospam@nospam.org Lines: 59 NNTP-Posting-Host: 69.24.8.72 X-Complaints-To: Abuse Role <abuse@ncia.net>, We Care <abuse@newsread.com> X-Trace: newshog.newsread.com 1069008147 69.24.8.72 (Sun, NNTP-Posting-Date: Sun, 16 Nov 2003 13:42:27 EST Organization: North Country Internet Access (ncia.net)