Re: Automator-users Digest, Vol 8, Issue 1
Re: Automator-users Digest, Vol 8, Issue 1
- Subject: Re: Automator-users Digest, Vol 8, Issue 1
- From: Chris Walters <email@hidden>
- Date: Thu, 1 Dec 2005 13:47:22 +0000
On Nov 30, 2005, at 4:50 PM, Todd Fernandez wrote:
Steve,
What task do you want to repeat 1000 times?
Todd
I have a Mail mailbox named "savers". It has somewhat over 1000
emails. I want to clean this out. I want to convert the emails to
text files so I can archive them and search their contents.
What I currently do:
1 - Navigate to the mailbox.
2 - Open the first email in the mailbox.
3 - Click in the body of the message.
4 - Command-A to select all text.
5 - Go to Mail>Services>TextEdit>New Window Containing Selection.
This creates a text file of the email contents.
6 - Save the file, using the subject line as the file name.
7 - Repeat steps 1 through 6 until all emails are converted.
Seems like there must be a way to automate this, I just haven't
figured it out yet.
I do *not* want to combine all emails into one giant text file.
Steve
Not sure if this helps you but the script referenced below does
almost exactly what you want, but actually creates HTML files. I
haven't tried this so I don't know if works "as is" or needs
modification. I'm using Tiger, and my mbox files (which the Python
script should be able to handle) used by Mail.app appear in the
folder Library/Mail/Mailboxes/{MailboxName}.mbox
Anyway, here is a link to the script:
http://blue.chem.psu.edu/~rajarshi/code/python/htmlemail.py
If you don't know Python I can probably help you do something similar
but outputting text files, but I encourage you to try yourself, it
will be very rewarding to be a Python scripter under Mac OS X.
Regards
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden