• 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
Address Book scripting bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Address Book scripting bug


  • Subject: Address Book scripting bug
  • From: "Nigel Garvey" <email@hidden>
  • Date: Tue, 28 Dec 2010 22:40:59 +0000

For various reasons, I've only this week found it worth my while to
start using Address Book. I typed all my contacts' addresses into
version 5.0.3 on my MacBook Pro, then exported an archive to import into
version 4.0.6 on my G5. However, the earlier version refused to import
the archive, so I wrote a script to save the interesting details from
version 5.0.3 into a script file and another to use those data to
recreate the people from scratch in version 4.0.6. This worked very well.

While seated at the G5, I wrote another script to insert the appropriate
ISO county codes into the 'addresses' of my overseas contacts, which had
the pleasing effect of causing the displayed addresses to be formatted
correctly for those countries. But when I ran the same script on the
MacBook Pro, the displayed addresses simply disappeared! It turns out,
after some experimentation, that version 5.0.3 only understands country
codes when they're lower case, which is wrong in both ISO and
AppleScript contexts.

(Version 4.0.6 has its own bug in that it insists on reformatting UK
telephone numbers incorrectly, but that seems to be fixed now.)

NG

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Address Book scripting bug
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Url Access Scripting
  • Next by Date: Re: Url Access Scripting
  • Previous by thread: Re: Url Access Scripting
  • Next by thread: Re: Address Book scripting bug
  • Index(es):
    • Date
    • Thread