Parsing a Eudora Directory Services record
Parsing a Eudora Directory Services record
- Subject: Parsing a Eudora Directory Services record
- From: "John, Mitchell" <email@hidden>
- Date: Wed, 8 Aug 2001 16:56:26 +0200
I'm attempting to create using the data format below a "record" in
Applescript so that I can reliably access the fields to copy into my
Filemaker database.
The format is as below: with each field separated by a return "\r"
I copy it using "set dsData to (selected text of the front window)", it
looks good in SD,but I cannot access the data as I expect.
ie set email_address to (mail of dsData)
"objectClass: organizationalPerson | person | Top
rdn: NURK
cn: Nurk, Gyuri
distinguishedName: cn=NURK,cn=Recipients,ou=Bristol,o=Fleetwood
rfc822Mailbox: email@hidden
mail: email@hidden
textEncodedORaddress: c=US;a= ;p=Graphisoft;o=Bristol;s=Nurk;g=Gyuri;
otherMailbox: smtp$email@hidden | smtp$email@hidden |
smtp$email@hidden | smtp$email@hidden |
smtp$email@hidden
Company: Fleetwood Inc
givenName: Gyorgy
l: Bristol
uid: NURK
MAPI-Recipient: TRUE
sn: Nurk
facsimileTelephoneNumber: 9400-0000
homephone: 9000-1000
mobile: (0 777) 9000-0000
telephoneNumber: 9000-3000
co: United States
title: Director"
any suggestions please?
John
--
John Mitchell
Office: +36 (1) 437 3623
Mob: +36 20 978 6077