Title: Re: Schedules: another feature request
On or near 6/26/02 5:10 AM, Judi Sohn at [EMAIL PROTECTED] observed:

> I like my mailing list mail to be filed into appropriate folders within a
> "mailing list" folder, held for 2 days and then dumped. I have a schedule
> set up to do it, but right now I have to manually add each folder. I
> subscribe/unsubscribe to mailing lists all the time and it's hard enough to
> keep up with mailing list manager, much less remember to add/delete them
> from my "dump" schedule. If I add the enclosing "mailing list" folder to the
> schedule it only dumps from that enclosing folder, not the subfolders.
>
> So my request is either:
>
> 1. Allow a "include subfolders" button when creating schedule actions so an
> action will act on folders it contains as well as itself.
>
I think this is an excellent suggestion. Until that is implemented in a future release...

You could do something that combines your two requests, actually. First, write a script that deletes everything 2 days old or more in a folder and any subfolders within it. Then, set up a schedule to run that script daily. The script would be something like this:

tell application "Microsoft Entourage"
    set listFolder to folder "Lists"
    set folderList to {listFolder} & (every folder of listFolder)
    set twoDaysAgo to (current date) - (2 * days)
    repeat with f in folderList
        delete (every message in f where its time sent < twoDaysAgo)
    end repeat
end tell

The “where its” clause works in OS X; I don’t think it will work in OS 9. I tested this using “open” instead of “delete”, and with an extra line that let me cancel after two folders...and it worked. I have not tested with the delete, but I believe it will work.
> Or
>
> 2. A script somewhere that automatically creates a delete schedule when the
> mailing list manager item is added.
>
> Speak of which, I'd love to see an expiration on rules and mailing lists.
> Like in the newsreaders where you can set a filter to expire X days after
> last use. I have quite a few rules and mailing lists that were needed for a
> certain point and then sit there for months and months untouched until I get
> around to cleaning them out.

--
My web page: <http://home.earthlink.net/~allenwatson/>
My scripts page: <http:homepage.mac.com/allenwatson>
Microsoft MVP for Mac Entourage/Word--<[EMAIL PROTECTED]>

Reply via email to