MACSCRPT Archives

October 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Delacour <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 3 Oct 2007 19:50:08 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
At 09:52 -0600 3/10/07, Chuck Pelto wrote:

>Greetings All,
>
>What are the calls to:
>
>[1] Check if there is a record in Macintosh OS X Address Book with 
>specific data in it?

tell application "Address Book" to get the name of people whose vcard 
contains "sm"


>[2] Update an existing record in Address Book with data?
>[3] Create a new record in Address Book with data?

What problems are you having?  Address Book has always seemed to me 
pretty easy to script.

It's worth noting that deletions, changes etc. will not immediately 
be apparent in the AB interface.

JD

ATOM RSS1 RSS2