Re: Creating a list of numbers from a Contacts group
Re: Creating a list of numbers from a Contacts group
- Subject: Re: Creating a list of numbers from a Contacts group
- From: Steve Mills <email@hidden>
- Date: Thu, 05 Jan 2017 21:51:56 +0000 (GMT)
On Jan 05, 2017, at 03:22 PM, debt <email@hidden> wrote:
I’m sure I’m missing something here, but why not do something like this instead? It’s shorter, you’re not changing the delimiters, and not dealing with paragraphs and characters.
tell application "Contacts" to tell group "Solicitors" to set phone_num_list to value of every phone of every person
set solicitor_list to {}
repeat with each_contact in my phone_num_list
repeat with each_phone_num in each_contact
set solicitor_list to solicitor_list & each_phone_num
end repeat
end repeat
I converted to text so I could get rid of all the empty items in the list.
Sent from iCloud's ridiculous UI, so, sorry about the formatting
_______________________________________________
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