• 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: list manipulation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list manipulation


  • Subject: Re: list manipulation
  • From: Ray Robertson <email@hidden>
  • Date: Fri, 14 Apr 2017 13:51:42 -0400

Yvan and Chris answered well. Negative indexing and Shane’s utilities are great.

I wanted to make sure you are familiar with list filtering by class:

set sampleList to {1, "some text", 45.5, 50, "more text"}
text of sampleList
reals of sampleList
integers of sampleList
numbers of sampleList

You can also use “some item of” if you want to get random…

Ray
 _______________________________________________
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: list manipulation
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >list manipulation (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Re: list manipulation
  • Next by Date: Re: list manipulation
  • Previous by thread: Re: list manipulation
  • Next by thread: Re: list manipulation
  • Index(es):
    • Date
    • Thread