Pages

Saturday, February 2, 2013

Applescript with Mail

I am very new to applescript and I am having some teathing troubles.  I am trying to create a list of email addresses from emails arriving into a particular mailbox.  I think I have the logic right,

 

1. Open Mail

2. Go to the mailbox i need

3. Go to the first message

4. Get the email address

5. Put the address in a text file

6. Repeat for all the emails in the mailbox

 

I'm stuck on number 2, generally how to select items i need in Mail, any help with this would be great.

 

If anyone also knows of a good book that might lean towards scripting with Mail, it woud be really helpful.

 

Thanks in advance!


View the original article here

0 comments:

Post a Comment