Pages

2 juin 2008

Remove duplicate items from a list

on removeDuplicateItem(theList)
set newList to {}
repeat with theItem in theList
if theItem is not in newList then set newList to newList & theItem
end repeat
return newList
end removeDuplicateItem


>>Ouvrir le script dans l'éditeur

Aucun commentaire: