• 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: Best Method to Filter Lists?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best Method to Filter Lists?


  • Subject: Re: Best Method to Filter Lists?
  • From: Yvan KOENIG <email@hidden>
  • Date: Fri, 10 Jun 2016 10:17:02 +0200

You may try :

set name_list to {"Bob", "Sal", "Wanda", "Sue", "Bob", "Bill"}

repeat with anItem in name_list
if contents of anItem is "Bob" then set contents of anItem to "Carl"
end repeat
name_list



Yvan KOENIG running El Capitan 10.11.5 in French (VALLAURIS, France) vendredi 10 juin 2016 10:16:45





 _______________________________________________
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

References: 
 >Best Method to Filter Lists? (From: Jim Underwood <email@hidden>)

  • Prev by Date: Re: HTML parsing--need to be able to click on parsed elements
  • Next by Date: Getting Individual Metadata Items with ASObjC
  • Previous by thread: Best Method to Filter Lists?
  • Next by thread: Re: Best Method to Filter Lists?
  • Index(es):
    • Date
    • Thread