• 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: A weird problem scripting Contacts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A weird problem scripting Contacts


  • Subject: Re: A weird problem scripting Contacts
  • From: Jim Underwood <email@hidden>
  • Date: Thu, 20 Jul 2017 23:45:11 +0000
  • Thread-topic: A weird problem scripting Contacts

For those interested in scripting Contacts.app, you might find these scripts
useful.
They have had the benefit of some smart, experienced folks over at
LatenightSW.com<http://forum.latenightsw.com/> (Script Debugger).

 Purpose:  Get List of Contact Names and Associated EMails
                for EMail Addresses that contain a string

First, the version using only native AppleScript, by Mark Alldritt:

Get List of Contact Name and Associated
Emails<http://forum.latenightsw.com/t/how-do-i-search-contacts-for-string-in-email-address/676/21>

  *   This script has a couple of very clever tricks, which Mark calls "black
magic"  😉

Next, the ASObjC version by Nigel
Garvey<http://forum.latenightsw.com/t/how-do-i-search-contacts-for-string-in-email-address/676/10>.
 (which should run faster, especially for large numbers of contacts)

  *   This seems to run fine in macOS 10.11.6, but may have some issues in
Sierra.
  *   Nigel has done an awesome job of analyzing and using the ObjC Contacts
framework.

Best Regards,

Jim Underwood
aka JMichaelTX
 _______________________________________________
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

References: 
 >A weird problem scripting Contacts (From: Deivy Petrescu <email@hidden>)
 >Re: A weird problem scripting Contacts (From: Yvan KOENIG <email@hidden>)
 >Re: A weird problem scripting Contacts (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: A weird problem scripting Contacts
  • Next by Date: Get List of Contact Names and Associated EMails for EMail Addresses that contain a string
  • Previous by thread: Re: A weird problem scripting Contacts
  • Next by thread: Re: A weird problem scripting Contacts
  • Index(es):
    • Date
    • Thread