• 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: Mail to Address Book script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail to Address Book script


  • Subject: Re: Mail to Address Book script
  • From: "Patrick Collins" <email@hidden>
  • Date: Sat, 25 Jun 2005 08:14:02 -0700 (PDT)
  • Organization: Collinator Studios

Ok...  Say I have an email that says in the body:


     Name - Patrick Shmatrick

     Email - email@hidden

     Email repeat - email@hidden

     City - New Kensington

     State - pa

     Comments
     I love your company.. can I work there some day?  This is a fake
comment.


What is the best approach to capture first & last name, email, city,
state, comments into variables that can then be pasted into a new card
in address book?  I already have a script working to create a card in
address book, however, I am just not sure how to proceed to get all of
the information off of a current email being viewed...

notice that there is a dash after each catagory except Comments---  (I
am basing this off of a web generated email that is sent when someone
orders a product, so I don't think I have much control on making the
Comments catagory's appearance uniform with the others..)

thanks.
-patrick

Michelle Steiner wrote on 6/25/05, 1:09 AM:

 >
 > On Jun 24, 2005, at 9:12 PM, Patrick Collins wrote:
 >
 > > I am trying to create a script that will effectively take an email
 > > from
 > > Paypal (in os x mail.app), and extract the purchaser's name, address,
 > > and other information and create a contact in addressbook and add
 > > it to
 > > a group (titled paypal).  I just wondered if anyone out there has done
 > > anything similar and might be willing to share their code to help
 > > get me
 > > in the right direction.
 >
 > If you provide us with the format that the information comes in in
 > mail, we might be able to figure something out for you.
 >
 > --
 > You can not change the world without perforce changing yourself.
 >


 _______________________________________________
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

  • Follow-Ups:
    • Re: Mail to Address Book script
      • From: Michelle Steiner <email@hidden>
    • Re: Mail to Address Book script
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Mail to Address Book script (From: "Patrick Collins" <email@hidden>)
 >Re: Mail to Address Book script (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: "read from" and non-lo-ascii characters
  • Next by Date: Re: Mail to Address Book script
  • Previous by thread: Re: Mail to Address Book script
  • Next by thread: Re: Mail to Address Book script
  • Index(es):
    • Date
    • Thread