Thread View: news.software.readers
9 messages
9 total messages
Started by The Borg
Wed, 22 Oct 2003 02:40
[Dialog] Script to apply sorting
Author: The Borg
Date: Wed, 22 Oct 2003 02:40
Date: Wed, 22 Oct 2003 02:40
10 lines
1475 bytes
1475 bytes
Anyone write a script that will Apply Sorting to all subscribed groups at once? Right now, in order to clear Read messages in a group I have to click on the Apply Sorting each time I enter the group. I'd like some way to start with a clean header area, so to speak. Thanks, -B -- I invented the cordless extension cord -- Stephen Wright
Re: [Dialog] Script to apply sorting
Author: Jeff Relf
Date: Wed, 22 Oct 2003 06:32
Date: Wed, 22 Oct 2003 06:32
17 lines
1656 bytes
1656 bytes
Hi Mr. Borg ,
You say :
" in order to clear Read messages in a group
I have to click on the Apply Sorting
each time I enter the group . "
I have a similar request .
I'm pondering writing my first " Script " ...
One that I could tie to an icon .
It'd do a " Mark Read " ,
followed by an " Apply Sorting " .
Does anyone know how to do this ?
I think it involves dragging icons into the scripting area .
Re: [Dialog] Script to apply sorting
Author: Malu'
Date: Wed, 22 Oct 2003 09:16
Date: Wed, 22 Oct 2003 09:16
32 lines
2319 bytes
2319 bytes
Wed, 22 Oct 2003 02:40:22 GMT
The Borg ha scritto:
> Anyone write a script that will Apply Sorting to all subscribed groups at
> once? Right now, in order to clear Read messages in a group I have to
> click on the Apply Sorting each time I enter the group. I'd like some way
> to start with a clean header area, so to speak.
>
I guess you enter the group by clicking on its name in the NG list.
Then it should be enough the command ADo('RefreshView') in the
OnGroupEntered event. If you like also to have all the messages collapsed
and the first message selected, you can add also the commands
ADo('FirstMessage') and ADo('CollapseAllThreads'), otherwise cut them off.
The script:
program OnGroupEntered;
procedure OnGroupEntered(Groupname: string);
begin
ADo('FirstMessage');
ADo('CollapseAllThreads');
ADo('RefreshView');
end;
begin
end.
Ciao,
--
Maria Luisa - 22/10/2003 11.04.29, here.
The next war will determine not what is right, but what is left.
Now playing: nothing, and savouring the silence.
Re: [Dialog] Script to apply sorting
Author: Antonio 'Gandalf' Favata
Date: Wed, 22 Oct 2003 19:37
Date: Wed, 22 Oct 2003 19:37
12 lines
2101 bytes
2101 bytes
news.software.readers ~ 22/10/2003 11.16 ~ Malu':
> I guess you enter the group by clicking on its name in the NG list.
> Then it should be enough [...] in the OnGroupEntered event.
Great, Malu' ;) Anyway, OnGroupEntered is called whenever the group is
entered, both clicking on the name and using the keyboard (e.g. spacebar)
--
Fare Well! | 40tude Dialog 2.0.7.1 (in italiano) http://snurl.com/dialog
G | Advice: Spam-filtering POP3 provider http://mail.people.it
22/10/2003 21.36.43
E badi come parli e parli come badi (Edoardo Bennato)
Re: [Dialog] Script to apply sorting
Author: Tarkus
Date: Wed, 22 Oct 2003 19:50
Date: Wed, 22 Oct 2003 19:50
23 lines
2206 bytes
2206 bytes
On Wed, 22 Oct 2003 11:16:13 +0200, Malu' wrote:
> procedure OnGroupEntered(Groupname: string);
> begin
> ADo('FirstMessage');
> ADo('CollapseAllThreads');
> ADo('RefreshView');
> end;
This looks like it has great potential for causing you to miss messages.
1. You go to the first message, which is an unread child message.
2. Message is marked read.
3. Thread is collapsed, taking you to the parent message.
4. You're taken to the *next* unread message.
So you miss the message in step 1.
--
The Official Binary News Reaper (BNR) mailing list:
Email: bnr1-subscribe@yahoogroups.com
Web: http://groups.yahoo.com/group/bnr1/
Now playing: "Peter Gabriel - Shaking the Tree"
Re: [Dialog] Script to apply sorting
Author: Antonio 'Gandalf' Favata
Date: Wed, 22 Oct 2003 20:07
Date: Wed, 22 Oct 2003 20:07
20 lines
2334 bytes
2334 bytes
news.software.readers ~ 22/10/2003 21.50 ~ Tarkus:
> This looks like it has great potential for causing you to miss messages.
I have used that script for months without such problems :)
> 1. You go to the first message, which is an unread child message.
> 2. Message is marked read.
> 3. Thread is collapsed, taking you to the parent message.
If the message is the first in the group, it doesn't have a parent :)
> 4. You're taken to the *next* unread message.
Why this?
--
Fare Well! | 40tude Dialog 2.0.7.1 (in italiano) http://snurl.com/dialog
G | Advice: GoogleGroupsAdvancedSearch http://snurl.com/ggroup
22/10/2003 22.06.19
I will not eat things for money (Bart's chalkboard #9F10)
Re: [Dialog] Script to apply sorting
Author: Malu'
Date: Wed, 22 Oct 2003 21:25
Date: Wed, 22 Oct 2003 21:25
34 lines
2301 bytes
2301 bytes
Wed, 22 Oct 2003 19:50:16 GMT
Tarkus ha scritto:
> On Wed, 22 Oct 2003 11:16:13 +0200, Malu' wrote:
>
>> procedure OnGroupEntered(Groupname: string);
>> begin
>> ADo('FirstMessage');
>> ADo('CollapseAllThreads');
>> ADo('RefreshView');
>> end;
>
> This looks like it has great potential for causing you to miss messages.
>
> 1. You go to the first message, which is an unread child message.
No, you go to the *very* first message of the headers panel.
> 2. Message is marked read.
Why?
> 3. Thread is collapsed, taking you to the parent message.
No, you are already on the parent.
> 4. You're taken to the *next* unread message.
Why? Refresh view applies only your sorting rule.
>
> So you miss the message in step 1.
Never happened!
--
Maria Luisa - 22/10/2003 23.15.59, here.
Q: How do troll braincells die?
A: Alone.
Now playing: nothing, and savouring the silence.
Re: [Dialog] Script to apply sorting
Author: Tarkus
Date: Thu, 23 Oct 2003 02:32
Date: Thu, 23 Oct 2003 02:32
38 lines
3052 bytes
3052 bytes
On Wed, 22 Oct 2003 22:07:48 +0200, Antonio 'Gandalf' Favata wrote: > news.software.readers ~ 22/10/2003 21.50 ~ Tarkus: > >> This looks like it has great potential for causing you to miss messages. > > I have used that script for months without such problems :) Perhaps. It probably depends on your settings. >> 1. You go to the first message, which is an unread child message. >> 2. Message is marked read. >> 3. Thread is collapsed, taking you to the parent message. > > If the message is the first in the group, it doesn't have a parent :) If your view only shows unread messages, then the first message shown could very well be a child message. >> 4. You're taken to the *next* unread message. > > Why this? Because naturally when you refresh the view, it's going to take you to the first unread message (which, in this case, will be the second unread message in the group, since the first one was already marked read). I just did a simple test. I clicked on Group > Collapse All Threads, and the message I was reading disappeared. If I refresh the view, the currently selected message also disappears (assuming it's marked read). If this was automated, I would have completely missed that message. -- The UNofficial 40tude Dialog mailing list: Email: 40tude_Dialog-subscribe@yahoogroups.com Web: http://groups.yahoo.com/group/40tude_Dialog/ Now playing: the radio
Re: [Dialog] Script to apply sorting
Author: Tarkus
Date: Thu, 23 Oct 2003 02:39
Date: Thu, 23 Oct 2003 02:39
54 lines
3302 bytes
3302 bytes
On Wed, 22 Oct 2003 23:25:59 +0200, Malu' wrote:
> Wed, 22 Oct 2003 19:50:16 GMT
> Tarkus ha scritto:
>
>> On Wed, 22 Oct 2003 11:16:13 +0200, Malu' wrote:
>>
>>> procedure OnGroupEntered(Groupname: string);
>>> begin
>>> ADo('FirstMessage');
>>> ADo('CollapseAllThreads');
>>> ADo('RefreshView');
>>> end;
>>
>> This looks like it has great potential for causing you to miss messages.
>>
>> 1. You go to the first message, which is an unread child message.
> No, you go to the *very* first message of the headers panel.
The very first message in my headers panel is often a child message,
since my normal view hides read messages.
>> 2. Message is marked read.
> Why?
Settings > General Settings > Navigation > Mark read when article pane
has focus
(I'm using zoom mode.)
>> 3. Thread is collapsed, taking you to the parent message.
> No, you are already on the parent.
Not if your view hides read messages.
>> 4. You're taken to the *next* unread message.
> Why? Refresh view applies only your sorting rule.
Right, which will hide all read messages, in my case.
>> So you miss the message in step 1.
> Never happened!
I suppose if your view shows all messages, this script might work. It
may also depend on how you enter a group. Or if you always enter via the
message list, it will probably work regardless of your view. If you
enter via the message pane (zoom mode), then you're going to have
problems, at least if your view hides read messages.
--
The Official Binary News Reaper (BNR) mailing list:
Email: bnr1-subscribe@yahoogroups.com
Web: http://groups.yahoo.com/group/bnr1/
Now playing: the radio
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