Re: Archiving Mailbox contents
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.