• 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: Address Book: add element to existing record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Address Book: add element to existing record


  • Subject: Re: Address Book: add element to existing record
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 23 Oct 2003 10:52:39 -0700

On 10/23/03 10:48 AM, "Michelle Steiner" <email@hidden> wrote:

>
> On Thursday, October 23, 2003, at 09:56 AM, Paul Berkowitz wrote:
>
>> There's nothing wrong with your method of making a new email. Are you
>> positive you have the variables for first and last name set correctly?
>
> the problem is that he didn't include "save addressbook" in the script,
> so the book didn't have a visual update.

Yes he did:


>> --snip This does not work. Whats wrong?
>> set listOfOnePerson to people whose first name is firstName_toAdd and
>> last name is lastName_toAdd
>> repeat with aPerson in listOfOnePerson
>> tell aPerson
>> make new email at end of emails with properties {label:"home",
>> value:emailAddress_toAdd}
>> end tell
>> save addressbook
>> end repeat
>> --end snip

See? Right at the end, where it should be.
>
> If he had clicked off the person in the book, then clicked back on it,
> he would have forced an update and the new entry would have been
> displayed.

I think there must have been some other error which he has since fixed. Like
having the wrong values for first or last name...
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Address Book: add element to existing record
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Address Book: add element to existing record (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Address Book: add element to existing record
  • Next by Date: Re: Quark 5.01 scripting syntax
  • Previous by thread: Re: Address Book: add element to existing record
  • Next by thread: Re: Address Book: add element to existing record
  • Index(es):
    • Date
    • Thread