• 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: Creating a list of numbers from a Contacts group
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a list of numbers from a Contacts group


  • Subject: Re: Creating a list of numbers from a Contacts group
  • From: debt <email@hidden>
  • Date: Thu, 05 Jan 2017 11:20:07 -0800

On Jan 5, 2017, at 10:53 AM, Steve Mills <email@hidden> wrote:

That's correct. "e" is the error string that resulting from the div by zero. He's just being a showoff. :) Here's a more AppleScripty way of doing it. It replaces the entire try/on error block:

set phoneNumList to phoneNumList as text
set text item delimiters to {","}
set phoneNumList to every text item of phoneNumList

Steve,

I tried your version but it destroys the list, so Chris may actually be on to something with the try block. :)

Marc
 _______________________________________________
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: Creating a list of numbers from a Contacts group
      • From: Steve Mills <email@hidden>
  • Prev by Date: Re: Creating a list of numbers from a Contacts group
  • Next by Date: Re: Creating a list of numbers from a Contacts group
  • Previous by thread: Re: Creating a list of numbers from a Contacts group
  • Next by thread: Re: Creating a list of numbers from a Contacts group
  • Index(es):
    • Date
    • Thread