Re: How to get parameter item of a string in a list
Re: How to get parameter item of a string in a list
- Subject: Re: How to get parameter item of a string in a list
- From: Rob Stott <email@hidden>
- Date: Mon, 16 May 2005 20:39:34 +0100
On 16 May 2005, at 19:24, Patrik B. wrote: I am basically trying to generate a new list that has everything in it except for the item I selected.
set theList to {"monkey", "parrot", "donkey"} set theChoice to choose from list theList set theList to difference of theChoice and theList
...not sure how this compares to other solutions suggested for speed, but its probably the easiest way.
Hope that helps
r.
---
Rob Stott - Development Team, Trident UK Connaught Road, Kingswood, East Yorkshire, England Tel: +44 (0) 1482 828100 • Mobile: +44 (0) 7881 811533
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden