🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
14 messages
14 total messages Started by Scott Marquardt Wed, 22 Dec 2004 20:52
[Dialog] Message deletion script?
#159610
Author: Scott Marquardt
Date: Wed, 22 Dec 2004 20:52
10 lines
1549 bytes
I'd like to delete all non-kept/non-watch messages in groups of a
particular category. Very nice would be a script that would delete all such
messages in all groups under whichever category tab I happen to have
selected at runtime.

Any ideas?

-- 

Scott
Re: [Dialog] Message deletion script?
#159611
Author: /betty/
Date: Wed, 22 Dec 2004 21:14
20 lines
1898 bytes
On Wed, 22 Dec 2004 14:52:26 -0600, Scott Marquardt used 10 lines to
assert:

> I'd like to delete all non-kept/non-watch messages in groups of a
> particular category. Very nice would be a script that would delete all such
> messages in all groups under whichever category tab I happen to have
> selected at runtime.
> 
> Any ideas?

Are sure sure you're not wanting a sledgehammer to crack a nut?

I always thought that the auto-Purging function was designed for that
purpose.

Can it not, in combo with auto-Mark_Read and/or other apposite options,
achieve all that you need?

-- 
/betty/ [2004-12-23 08:03:58]
Re: [Dialog] Message deletion script?
#159613
Author: Scott Marquardt
Date: Wed, 22 Dec 2004 22:52
26 lines
2067 bytes
/betty/ opined thusly on Dec 22:
> On Wed, 22 Dec 2004 14:52:26 -0600, Scott Marquardt used 10 lines to
> assert:
> 
>> I'd like to delete all non-kept/non-watch messages in groups of a
>> particular category. Very nice would be a script that would delete all such
>> messages in all groups under whichever category tab I happen to have
>> selected at runtime.
>> 
>> Any ideas?
> 
> Are sure sure you're not wanting a sledgehammer to crack a nut?
> 
> I always thought that the auto-Purging function was designed for that
> purpose.
> 
> Can it not, in combo with auto-Mark_Read and/or other apposite options,
> achieve all that you need?

No.

:-)

-- 

Scott
Re: [Dialog] Message deletion script?
#159614
Author: Tarkus
Date: Wed, 22 Dec 2004 23:32
26 lines
2184 bytes
On 12/22/2004 2:52:57 PM, Scott Marquardt wrote:

> /betty/ opined thusly on Dec 22:
>> On Wed, 22 Dec 2004 14:52:26 -0600, Scott Marquardt used 10 lines to
>> assert:
>> 
>>> I'd like to delete all non-kept/non-watch messages in groups of a
>>> particular category. Very nice would be a script that would delete
>>> all such messages in all groups under whichever category tab I
>>> happen to have selected at runtime. 
>>> 
>>> Any ideas?
>> 
>> Are sure sure you're not wanting a sledgehammer to crack a nut? 
>> 
>> I always thought that the auto-Purging function was designed for that
>> purpose. 
>> 
>> Can it not, in combo with auto-Mark_Read and/or other apposite
>> options, achieve all that you need?
> 
> No.

Why not?  Where does it come up short?
-- 
"Here's to swimmin' with bow-legged women."
Re: [Dialog] Message deletion script?
#159615
Author: Scott Marquardt
Date: Wed, 22 Dec 2004 23:35
39 lines
2804 bytes
Tarkus opined thusly on Dec 22:
> On 12/22/2004 2:52:57 PM, Scott Marquardt wrote:
> 
>> /betty/ opined thusly on Dec 22:
>>> On Wed, 22 Dec 2004 14:52:26 -0600, Scott Marquardt used 10 lines to
>>> assert:
>>> 
>>>> I'd like to delete all non-kept/non-watch messages in groups of a
>>>> particular category. Very nice would be a script that would delete
>>>> all such messages in all groups under whichever category tab I
>>>> happen to have selected at runtime. 
>>>> 
>>>> Any ideas?
>>> 
>>> Are sure sure you're not wanting a sledgehammer to crack a nut? 
>>> 
>>> I always thought that the auto-Purging function was designed for that
>>> purpose. 
>>> 
>>> Can it not, in combo with auto-Mark_Read and/or other apposite
>>> options, achieve all that you need?
>> 
>> No.
> 
> Why not?  Where does it come up short?
> -- 
> "Here's to swimmin' with bow-legged women."

Because there are arbitrary times when I wish to delete all messages,
including those more recent than the purge periodicity.

Dialog already has many accommodations for ad hoc removal of messages --
including whacking "delete" on a selected range of messages. My post was
inquiring whether deletion (or for that matter, other actions) might be
easily scripted for all groups in the selected category tab.

-- 

Scott
Re: [Dialog] Message deletion script?
#159618
Author: /betty/
Date: Thu, 23 Dec 2004 00:23
22 lines
2227 bytes
On Wed, 22 Dec 2004 17:35:14 -0600, Scott Marquardt used 39 lines to
assert:

> Tarkus opined thusly on Dec 22:
>> 
>> Why not?  Where does it come up short?
> 
> Because there are arbitrary times when I wish to delete all messages,
> including those more recent than the purge periodicity.
> 
> Dialog already has many accommodations for ad hoc removal of messages --
> including whacking "delete" on a selected range of messages. My post was
> inquiring whether deletion (or for that matter, other actions) might be
> easily scripted for all groups in the selected category tab.

OK. Did you know that scripting is an included feature put there for
users to use, to achieve the individual quirky things that _they_ want? 

IOW You are given the capabilities, no excuses. Go for it!  :)

-- 
/betty/ [2004-12-23 11:17:01]
Re: [Dialog] Message deletion script?
#159622
Author: Scott Marquardt
Date: Thu, 23 Dec 2004 02:14
30 lines
2593 bytes
/betty/ opined thusly on Dec 22:
> On Wed, 22 Dec 2004 17:35:14 -0600, Scott Marquardt used 39 lines to
> assert:
> 
>> Tarkus opined thusly on Dec 22:
>>> 
>>> Why not?  Where does it come up short?
>> 
>> Because there are arbitrary times when I wish to delete all messages,
>> including those more recent than the purge periodicity.
>> 
>> Dialog already has many accommodations for ad hoc removal of messages --
>> including whacking "delete" on a selected range of messages. My post was
>> inquiring whether deletion (or for that matter, other actions) might be
>> easily scripted for all groups in the selected category tab.
> 
> OK. Did you know that scripting is an included feature put there for
> users to use, to achieve the individual quirky things that _they_ want? 
> 
> IOW You are given the capabilities, no excuses. Go for it!  :)

Aaack!  Groking the freakin' Pascal is so intolerable, though. Hey, give me
credit for kludging another script today (see another of my posts), where
all I had to do was a couple lines of someone else's stuff.    8P

Anyone else here, willing to spoonfeed me?

-- 

Scott
Re: [Dialog] Message deletion script?
#159626
Author: Anders Eriksson
Date: Thu, 23 Dec 2004 07:00
30 lines
2453 bytes
On Wed, 22 Dec 2004 21:14:45 GMT, /betty/ wrote:

> 
> I always thought that the auto-Purging function was designed for that
> purpose.
> 
> Can it not, in combo with auto-Mark_Read and/or other apposite options,
> achieve all that you need?

How does Purge work anyway?

In the Group Options - Purge I can set Purge to 
 Never
 When message is older than
 On every purge
 On every purge, but delete body only

The question is *When* does purge run?

Is there some automatic running of purge, e.g. every time I close Dialog.
Or does purge only run when I select purge from the Menu?

If purging only occurs when I select it from the menu, Then the OP could
just select 'On every purge'

// Anders

-- 
To me, boxing is like couples having sex, except there's no foreplay,
 no naked people and the people are hitting each other with big red gloves.
Re: [Dialog] Message deletion script?
#159628
Author: Andreas Loch
Date: Thu, 23 Dec 2004 08:10
19 lines
1996 bytes
2004-12-23, Anders Eriksson:

> The question is *When* does purge run?

IIRC Marcus said purge runs everytime when new headers are downloaded in 
a group.

Say you subscribed the groups a, b and c. When you "get new headers in 
subscribed groups" and there are new headers for the groups a and c 
only:
- only a and c will be purged
- b stays untouched

Andreas

-- 
http://gigaschatten.de/
40tude Dialog - http://www.40tude.com/dialog/
Newsoffice.de - http://newsoffice.de/
Re: [Dialog] Message deletion script?
#159636
Author: Scott Marquardt
Date: Thu, 23 Dec 2004 10:46
35 lines
2540 bytes
Anders Eriksson opined thusly on Dec 23:
> On Wed, 22 Dec 2004 21:14:45 GMT, /betty/ wrote:
> 
>> 
>> I always thought that the auto-Purging function was designed for that
>> purpose.
>> 
>> Can it not, in combo with auto-Mark_Read and/or other apposite options,
>> achieve all that you need?
> 
> How does Purge work anyway?
> 
> In the Group Options - Purge I can set Purge to 
>  Never
>  When message is older than
>  On every purge
>  On every purge, but delete body only
> 
> The question is *When* does purge run?
> 
> Is there some automatic running of purge, e.g. every time I close Dialog.
> Or does purge only run when I select purge from the Menu?
> 
> If purging only occurs when I select it from the menu, Then the OP could
> just select 'On every purge'

What I'm wanting to do is be able to delete all posts in a category at
will. The key point is that I want the ability to perform an ad hoc action
-- not rely on a periodicity I specify for purging. In other words, I don't
always want to delete things "right away," nor do I want to always retain
things for a set periodicity.

-- 

Scott
Re: [Dialog] Message deletion script?
#159646
Author: foxidrive
Date: Thu, 23 Dec 2004 13:12
6 lines
1216 bytes
On Thu, 23 Dec 2004 04:46:45 -0600, Scott Marquardt wrote:

> What I'm wanting to do is be able to delete all posts in a category at
> will. The key point is that I want the ability to perform an ad hoc action

Control A and Del?
Re: [Dialog] Message deletion script?
#159683
Author: Scott Marquardt
Date: Fri, 24 Dec 2004 05:12
19 lines
2205 bytes
foxidrive opined thusly on Dec 23:
> On Thu, 23 Dec 2004 04:46:45 -0600, Scott Marquardt wrote:
> 
>> What I'm wanting to do is be able to delete all posts in a category at
>> will. The key point is that I want the ability to perform an ad hoc action
> 
> Control A and Del?

Yes. In each and every group in the category. Doing that is the impetus for 
my interest in a script.

To make this simple, can anyone tell me if this script would be trivial? 
Are categories well-exposed in the object model? Whatever?

TIA

-- 

Scott
Re: [Dialog] Message deletion script?
#159871
Author: Alain GUERIN
Date: Thu, 30 Dec 2004 07:22
17 lines
2029 bytes
Hello,


On Fri, 24 Dec 2004 05:12:22 GMT, Scott Marquardt wrote:

> Yes. In each and every group in the category. Doing that is the impetus for 
> my interest in a script.

> To make this simple, can anyone tell me if this script would be trivial? 
> Are categories well-exposed in the object model? Whatever?


As far as I know, there is no way to detect by script the status (kept or
watched, for example) of a post.

-- 
A.G.
Re: [Dialog] Message deletion script?
#159873
Author: Scott Marquardt
Date: Thu, 30 Dec 2004 08:38
20 lines
2268 bytes
Alain GUERIN opined thusly on Dec 30:
> Hello,
> 
> On Fri, 24 Dec 2004 05:12:22 GMT, Scott Marquardt wrote:
> 
>> Yes. In each and every group in the category. Doing that is the impetus for 
>> my interest in a script.
> 
>> To make this simple, can anyone tell me if this script would be trivial? 
>> Are categories well-exposed in the object model? Whatever?
> 
> As far as I know, there is no way to detect by script the status (kept or
> watched, for example) of a post.

Dag!


-- 

Scott
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