🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Tarkus Wed, 08 Oct 2003 04:56
[Dialog] Script for ignoring entire thread
#135096
Author: Tarkus
Date: Wed, 08 Oct 2003 04:56
10 lines
1732 bytes
I have Dialog set up to watch/ignore subthreads.  Can someone please post 
a script that would back out to the parent message, ignore it (so that 
all subthreads will be ignored) and then skip to the next unread message?
-- 
The UNofficial 40tude Dialog mailing list:
Email:  40tude_Dialog-subscribe@yahoogroups.com
Web:  http://groups.yahoo.com/group/40tude_Dialog/

Now playing: "Utopia - Maybe I Could Change"
Re: [Dialog] Script for ignoring entire thread
#135106
Author: Antonio 'Gandalf' Favata
Date: Wed, 08 Oct 2003 13:09
26 lines
2093 bytes
news.software.readers ~ 8/10/2003 6.56 ~ Tarkus:

> I have Dialog set up to watch/ignore subthreads.  Can someone please post 
> a script that would back out to the parent message, ignore it (so that 
> all subthreads will be ignored) and then skip to the next unread message?

I should be enough to compress the thread, then ignore it, finally skip
to next unread message:

|| Program IgnoreAndSkipToNextThread;
|| Begin
|| lockdisplay;
|| try
||    ADo('CollapseThread');
||    ADO('Ignore');
||    ADo('NextMessage');
|| finally
|| unlockdisplay;
|| end;
|| End.
-- 
Fare Well! | gandalf@ithn.net ~ ICQ# 16553733 ~ now: 08/10/2003 15.07.24
G          | Advice:     40tude Dialog 2.0.5.1 <http://snurl.com/dialog>

Don't panic. Don't panic. Don't panic. ... ALL RIGHT, NOW PANIC!
Re: [Dialog] Script for ignoring entire thread
#135109
Author: Tarkus
Date: Wed, 08 Oct 2003 15:31
13 lines
1821 bytes
On 8 Oct 2003 13:09:51 GMT, Antonio 'Gandalf' Favata wrote:

> I should be enough to compress the thread, then ignore it, finally skip
> to next unread message:

Thank you very much!
-- 
The Official Binary News Reaper (BNR) mailing list:
Email:  bnr1-subscribe@yahoogroups.com
Web:  http://groups.yahoo.com/group/bnr1/

Now playing: "Utopia - Welcome to My Revolution"
Re: [Dialog] Script for ignoring entire thread
#135112
Author: Antonio 'Gandalf' Favata
Date: Wed, 08 Oct 2003 16:07
14 lines
1825 bytes
news.software.readers ~ 8/10/2003 17.31 ~ Tarkus:

>> I should be enough to compress the thread, then ignore it, finally skip
    ^ (I left the T in my keyboard ^_^)

> Thank you very much!

So I guess it works. Great :)
-- 
Fare Well! | gandalf@ithn.net ~ ICQ# 16553733 ~ now: 08/10/2003 18.03.22
G          | Advice:  Looking for freeware? <http://snurl.com/webattack>

I will not dissect things unless instructed (Bart's chalkboard #2F05)
Re: [Dialog] Script for ignoring entire thread
#135145
Author: Big Ben
Date: Thu, 09 Oct 2003 11:40
23 lines
1366 bytes
Hi,

>|| Program IgnoreAndSkipToNextThread;
>|| Begin
>|| lockdisplay;
>|| try
>||    ADo('CollapseThread');
>||    ADO('Ignore');
>||    ADo('NextMessage');
>|| finally
>|| unlockdisplay;
>|| end;
>|| End.

Can you tell me what are the instructions "try" and "finally" ?

thanks.

-- 
Cordialement,
Ben.

Re: [Dialog] Script for ignoring entire thread
#135161
Author: Tarkus
Date: Thu, 09 Oct 2003 18:02
27 lines
2329 bytes
On Thu, 9 Oct 2003 16:29:27 +0200, Alain GUERIN wrote:

> On Thu, 9 Oct 2003 13:40:12 +0200, Big Ben wrote:
> 
>> Can you tell me what are the instructions "try" and "finally" ?
>> 
>> thanks.
> 
> It's an exception management. 
> 
> If there is an error after the try, the program will go directly to finally 
> and resume execution here.
> 
> In that case, you are sure that the unlockdisplay will be executed even in 
> worse situations.
> 
> If there is no error, it will reach this stage after all the instructions 
> between try and finally are processed.

That is very cool.  I always wondered what that was for.
-- 
The Official Binary News Reaper (BNR) mailing list:
Email:  bnr1-subscribe@yahoogroups.com
Web:  http://groups.yahoo.com/group/bnr1/

Now playing: "Demons & Wizards - Path Of Glory"
Re: [Dialog] Script for ignoring entire thread
#135162
Author: Big Ben
Date: Thu, 09 Oct 2003 18:03
22 lines
1876 bytes
Le jeudi 9 octobre 2003 � 16:29, Alain GUERIN a �crit:

> It's an exception management. 
> 
> If there is an error after the try, the program will go directly to finally 
> and resume execution here.
> 
> In that case, you are sure that the unlockdisplay will be executed even in 
> worse situations.
> 
> If there is no error, it will reach this stage after all the instructions 
> between try and finally are processed.
> 
> It's something coming from Delphi Borland.

Ok, it's an error handler.
Thanks.

-- 
Cordialement,
Ben.
Re: [Dialog] Script for ignoring entire thread
#135801
Author: Tarkus
Date: Sun, 19 Oct 2003 22:15
37 lines
2569 bytes
On 8 Oct 2003 16:07:36 GMT, Antonio 'Gandalf' Favata wrote:

> news.software.readers ~ 8/10/2003 17.31 ~ Tarkus:
> 
>>> I should be enough to compress the thread, then ignore it, finally skip
>     ^ (I left the T in my keyboard ^_^)
> 
>> Thank you very much!
> 
> So I guess it works. Great :)

Actually, no.  The problem is, my main view hides read messages, so it
doesn't pick up the parent message unless I change views first.  I've
tried modifying the script to do just that, but I'm clearly in over my
head.  ;)

Here's what I have right now:

Program IgnoreParent;
Begin
lockdisplay;
try
   ADo('View1');
   ADo('CollapseThread');
   ADO('Ignore');
   ADo('View2');
finally
unlockdisplay;
ADo('SkipRetrieveToNextUnreadMessage');
end;
End.
-- 
The UNofficial 40tude Dialog mailing list:
Email:  40tude_Dialog-subscribe@yahoogroups.com
Web:  http://groups.yahoo.com/group/40tude_Dialog/

Now playing: "Synergy - Warriors"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads