• 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: Archiving Mailbox contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Archiving Mailbox contents


  • Subject: Re: Archiving Mailbox contents
  • From: John Delacour <email@hidden>
  • Date: Mon, 24 Feb 2003 23:34:47 +0000
  • Mac-eudora-version: 6.0a7

At 2:29 pm -0800 24/2/03, cricket wrote:

No one seems to have given a good answer to this one, so here's something that may get you started. Here's a sample script that will archive the selected mailbox to a text file on your desktop, named after the selected mailbox:

Why go through all those thousands of Apple Events when the mailbox already exists as an archive and can be opened directly in a text editor with a single event?

set ed to " TextEdit "
set fldr to " ~/Library/Mail/" -- note the leading/trailing spaces!
set acct to "email@hidden"
do shell script "open -a " & ed & fldr & acct & "/INBOX.mbox/mbox"

JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Archiving Mailbox contents
      • From: cricket <email@hidden>
References: 
 >Re: Archiving Mailbox contents (From: cricket <email@hidden>)

  • Prev by Date: Re: Scripting Mail:get selection
  • Next by Date: Re: Scripting Mail:get selection
  • Previous by thread: Re: Archiving Mailbox contents
  • Next by thread: Re: Archiving Mailbox contents
  • Index(es):
    • Date
    • Thread