• 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: Find index of list to find item in another list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find index of list to find item in another list


  • Subject: Re: Find index of list to find item in another list
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 01 Jul 2009 12:32:43 -0700
  • Thread-topic: Find index of list to find item in another list

On Wed, 01 Jul 2009 10:09:22 -0500, Jim Skibbie <email@hidden> said:
>I have a task where I need to compare one list of values with another. The
>lists are quite large, so I¹m wondering if there¹s any way to not have to
>loop over the entire list to find the values.

Okay, look, gang, I promise to say this a minimum of times (like, maybe just
this once)... But this is *exactly* the sort of thing that is ridiculously
easy (and fast) in Ruby, and it's part of why I now use Ruby with
rb-appscript instead of AppleScript for tasks like this. For those who are
even thinking of contemplating possibly maybe deciding to pursue planning
hypothetically to dip a toe in this water, I've written an online book about
rb-appscript:

http://www.apeth.com/rbappscript/00intro.html

We now return control of your television set to you... (Boy, I bet no one
here gets *that* reference.) m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



 _______________________________________________
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: Find index of list to find item in another list
      • From: "email@hidden" <email@hidden>
    • Re: Find index of list to find item in another list
      • From: Bruce Carter <email@hidden>
  • Prev by Date: Re: Setting File & Creator Type access error
  • Next by Date: Re: Find index of list to find item in another list
  • Previous by thread: Re: Find index of list to find item in another list
  • Next by thread: Re: Find index of list to find item in another list
  • Index(es):
    • Date
    • Thread