Re: Find index of list to find item in another list
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