Pages

2 juin 2008

Item number in a list


on ItemNumber(theItem, theList)
repeat with NumItem from 1 to count theList
if theItem = item NumItem of theList then return NumItem
end repeat
return 0
end ItemNumber

>>Ouvrir le script dans l'éditeur

Aucun commentaire: