Thread View: news.software.readers
7 messages
7 total messages
Started by Richard Townsend
Sun, 12 Sep 2004 09:14
[Dialog] 'Collapse everything' script
Author: Richard Townsend
Date: Sun, 12 Sep 2004 09:14
Date: Sun, 12 Sep 2004 09:14
7 lines
1263 bytes
1263 bytes
Can anyone help with a Dialog script to step through each subscribed newsgroup and execute 'collapse all threads' in each one? I couldn't see anything like this in the Script Library. -- Richard
Re: [Dialog] 'Collapse everything' script
Author: Antonio 'Gandalf' Favata
Date: Sun, 12 Sep 2004 09:27
Date: Sun, 12 Sep 2004 09:27
35 lines
2102 bytes
2102 bytes
Je la 2004-09-12, Richard Townsend skribis:
> Can anyone help with a Dialog script to step through each subscribed
> newsgroup and execute 'collapse all threads' in each one?
Why do you want to collapse threads in a group you can't see? ;)
I guess you could achieve your wished result with this script, which
will collapse the threads every time you enter in a group. (It'll do
also some other things, but you can delete the corresponding actions
if you don't want them).
program OnGroupEntered;
procedure OnGroupEntered(Groupname: string);
begin
try
LockDisplay;
ADo('RefreshView');
ADo('FirstMessage');
ADo('CollapseAllThreads');
ADo('ArticlePane');
finally
UnlockDisplay;
end;
end;
begin
end.
--
Fare Well! | Dialog ß36: http://snurl.com/dialog http://snurl.com/dlgfaq
G | (una sorpresa in arrivo) ~ news:it.comp.software.newsreader
ICQ# | Gerarchia it-alt.*: http://www.fiag.it ~ news:it-alt.config
16553733 | Server: http://www.x-privat.org ~ http://www.mynewsgate.net
Re: [Dialog] 'Collapse everything' script
Author: Andreas Loch
Date: Sun, 12 Sep 2004 09:31
Date: Sun, 12 Sep 2004 09:31
29 lines
2166 bytes
2166 bytes
Sun, 12 Sep 2004 10:14:22 +0100, Richard Townsend:
> Can anyone help with a Dialog script to step through each subscribed
> newsgroup and execute 'collapse all threads' in each one?
I use the following event script:
program OnGroupEntered;
procedure OnGroupEntered(Groupname: string);
begin
ADo('CollapseAllThreads');
end;
begin
end.
Sure, it doesn't collapse all threads in every subscribed group.
But as soon as I enter a group, all threads in this group will be
collapsed.
Andreas
--
http://gigaschatten.de/
Now another way to explain acronyms to newbies:
"Install 40tude Dialog and hover the cursor over, dude."
[Loonie in news.software.readers]
Re: [Dialog] 'Collapse everything' script
Author: Richard Townsend
Date: Sun, 12 Sep 2004 09:51
Date: Sun, 12 Sep 2004 09:51
21 lines
1968 bytes
1968 bytes
On Sun, 12 Sep 2004 11:27:53 +0200, Antonio 'Gandalf' Favata wrote: > Why do you want to collapse threads in a group you can't see? ;) Well I would just like be able to 'tidy everything up' from time to time. > I guess you could achieve your wished result with this script, which > will collapse the threads every time you enter in a group. (It'll do > also some other things, but you can delete the corresponding actions > if you don't want them). > Using your 'OnGroupEntered' script is good, except of course, it collapses all threads *every* time you enter the group. Sometimes I wouldn't want to do that, which is why I was looking for a way to be able to manually trigger a 'collapse everything' operation. thanks for your suggestions Antonio & Andreas. -- Richard
Re: [Dialog] 'Collapse everything' script
Author: Ryoma [Zanbot3000]
Date: Sun, 12 Sep 2004 10:04
Date: Sun, 12 Sep 2004 10:04
12 lines
1760 bytes
1760 bytes
On Sun, 12 Sep 2004 10:51:41 +0100, Richard Townsend wrote:
> Using your 'OnGroupEntered' script is good, except of course, it collapses
> all threads *every* time you enter the group. Sometimes I wouldn't want to
> do that, which is why I was looking for a way to be able to manually
> trigger a 'collapse everything' operation.
You could use "Shift+-".
--
Ryoma
ICQ#41121680
Re: [Dialog] 'Collapse everything' script
Author: Richard Townsend
Date: Sun, 12 Sep 2004 10:12
Date: Sun, 12 Sep 2004 10:12
10 lines
1558 bytes
1558 bytes
On Sun, 12 Sep 2004 12:04:09 +0200, Ryoma [Zanbot3000] wrote: > You could use "Shift+-". Doesn't that just affect the current newsgroup? yes, I know I'm being lazy :) -- Richard
Re: [Dialog] 'Collapse everything' script
Author: Ryoma [Zanbot3000]
Date: Sun, 12 Sep 2004 10:40
Date: Sun, 12 Sep 2004 10:40
12 lines
1776 bytes
1776 bytes
On Sun, 12 Sep 2004 11:12:43 +0100, Richard Townsend wrote:
>> You could use "Shift+-".
> Doesn't that just affect the current newsgroup?
Yes, it does. You need a _manual_ command and that's it.
You can always leave all ng's expanded as default than collapse
when you want.
--
Ryoma
ICQ#41121680
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