• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: My delete aged msg script - broke?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >My delete aged msg script - broke? (From: martin <email@hidden>)

  • Prev by Date: Re: Date-math fixes in Tiger
  • Next by Date: Re: Script Editor hangs on "Open Dictionary"
  • Previous by thread: My delete aged msg script - broke?
  • Next by thread: Image Events in Tiger Weirdness?
  • Index(es):
    • Date
    • Thread