🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Oz Thu, 02 Oct 2003 19:52
[Dialog] starting with collapsed threads
#134809
Author: Oz
Date: Thu, 02 Oct 2003 19:52
8 lines
1157 bytes
I've done a google search on the subject but the post I found with a script
does not seem to work.
Can anyone help with a script which will, when opening dialog starts all
threads in collapsed mode.

Thank you for your time
Oz
Re: [Dialog] starting with collapsed threads
#134802
Author: Oz
Date: Thu, 02 Oct 2003 20:29
19 lines
1519 bytes
> Does this need a script..??
> 
> Check Group
> Default options
> Retrieving
> Newly retrieved headers 
> disable if enabled

thanks for the reply

It was already disabled. Its not just new headers, I want *ALL* threads to
be colloped when I enter a newsgroup.
It seems that threads I've been reading from earlier, stay open. I would
prefer they are in a collopsed state next time I enter the group.

hope that made a bit more sense.

Re: [Dialog] starting with collapsed threads
#134801
Author: Yeellow
Date: Thu, 02 Oct 2003 21:00
32 lines
1959 bytes
On Thu, 2 Oct 2003 21:29:22 +0100, Oz wrote:

> 
>> Does this need a script..??
>> 
>> Check Group
>> Default options
>> Retrieving
>> Newly retrieved headers 
>> disable if enabled
> 
> thanks for the reply
> 
> It was already disabled. Its not just new headers, I want *ALL* threads to
> be colloped when I enter a newsgroup.
> It seems that threads I've been reading from earlier, stay open. I would
> prefer they are in a collopsed state next time I enter the group.
> 
> hope that made a bit more sense.

when you enter or when you start Dialog?

In the latter case add a following instruction:

ADo('CollapseAllThreads');

to your OnStartup script (Scripts-> Event scripts - use file->new when
empty)

greetings,
Marcin
Re: [Dialog] starting with collapsed threads
#134804
Author: Oz
Date: Thu, 02 Oct 2003 21:18
37 lines
1831 bytes
> 
> when you enter or when you start Dialog?
> 
> In the latter case add a following instruction:
> 
> ADo('CollapseAllThreads');
> 
> to your OnStartup script (Scripts-> Event scripts - use file->new when
> empty)
> 
> greetings,
> Marcin

Thank you Marcin.
I want both cases; when I first start dialog, and also everytime I enter a
newsgroup, I want threads to be collopsed.

I entered your instruction to the OnStartup script, but still when I
restarted Dialog, the threads in the groups where still expanded!!! argghh!

The instruction looks like this now :

program OnStartup;

procedure OnStartup;
begin
ADo('CollapseAllThreads');

end;

begin
end.


Thank you.
Re: [Dialog] starting with collapsed threads
#134806
Author: Malù
Date: Thu, 02 Oct 2003 21:41
36 lines
1999 bytes
Thu, 2 Oct 2003 22:18:19 +0100
 Oz ha scritto:

> program OnStartup;

> procedure OnStartup;
> begin
  ***
> ADo('CollapseAllThreads');

> end;

> begin
> end.

In the program above add the line:
ADo('ReloadScripts');
where I put the asterisks.

To have the articles in a collopsed state when you enter the group, make
this message script:
program NGLV_WM_LBUTTONUP;

procedure OnWMessage(var Msg:TMessage;var handled:boolean);
begin
ADo('FirstMessage');
ADo('CollapseAllThreads');
ADo('RefreshView');
end;

begin
end.
-- 
Maria Luisa - 02/10/2003 23.39.37, here.
If all you have is a hammer, every problem looks like a nail.
Re: [Dialog] starting with collapsed threads
#134812
Author: Oz
Date: Thu, 02 Oct 2003 21:59
23 lines
1677 bytes
> 
> In the program above add the line:
> ADo('ReloadScripts');
> where I put the asterisks.
> 
> To have the articles in a collopsed state when you enter the group, make
> this message script:
> program NGLV_WM_LBUTTONUP;
> 
> procedure OnWMessage(var Msg:TMessage;var handled:boolean);
> begin
> ADo('FirstMessage');
> ADo('CollapseAllThreads');
> ADo('RefreshView');
> end;
> 
> begin
> end.

Thank you Malu, that worked perfectly.

Re: [Dialog] starting with collapsed threads
#134815
Author: Antonio 'Gandalf' Favata
Date: Thu, 02 Oct 2003 22:42
13 lines
2027 bytes
news.software.readers ~ 2/10/2003 23.41 ~ Mal�:

> program NGLV_WM_LBUTTONUP;
[snip]

From next version, this script can be used with an OnGroupEntered event,
so that it works even when using only the keyboard and not the mouse.
-- 
Fare Well! | gandalf@ithn.net ~ ICQ# 16553733 ~ now: 03/10/2003 0.40.54
G          | 40tude Dialog (presto in Italiano): http://snurl.com/dialog

Dinner not ready: (A)bort, (R)etry, (P)izza
Re: [Dialog] starting with collapsed threads
#135180
Author: Yeellow
Date: Thu, 09 Oct 2003 23:04
35 lines
2075 bytes
On Thu, 2 Oct 2003 23:41:45 +0200, Mal� wrote:

> Thu, 2 Oct 2003 22:18:19 +0100
>  Oz ha scritto:
> 
>> program OnStartup;
> 
>> procedure OnStartup;
>> begin
>   ***
>> ADo('CollapseAllThreads');
> 
>> end;
> 
>> begin
>> end.
> 
> In the program above add the line:
> ADo('ReloadScripts');
> where I put the asterisks.
> 
> To have the articles in a collopsed state when you enter the group, make
> this message script:
> program NGLV_WM_LBUTTONUP;
> 
> procedure OnWMessage(var Msg:TMessage;var handled:boolean);
> begin
> ADo('FirstMessage');
> ADo('CollapseAllThreads');
> ADo('RefreshView');
> end;
> 
> begin
> end.
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