Re: My delete aged msg script - broke?
Re: My delete aged msg script - broke?
- Subject: Re: My delete aged msg script - broke?
- From: pete boardman <email@hidden>
- Date: Mon, 16 May 2005 10:17:28 +0100
On 2005-05-15, at 21:50, martin wrote:
I cobbled together the following script to delete msgs from my mail
app. I was attempting to dupe one that I had used with emailer. But
with the new mail app it seems to operate differently than it did
with mail app prior to tiger. Much longer to complete and much more
activity in 'activity viewer' window.
If someone would point me in a productive direction I'd be grateful.
If I were you, I'd investigate this sort of approach:
tell application "Mail"
set flagged status of every message of mailbox "applescript"
whose date sent is greater than (current date) - 2 * days to false
end tell
(I don't want to play with the delete function, since I don't trust
Mail 100%... :-)
Pete
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden