Re: A weird problem scripting Contacts
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