Re: Trimming down a list
Re: Trimming down a list
- Subject: Re: Trimming down a list
- From: has <email@hidden>
- Date: Wed, 10 Apr 2002 21:42:20 +0100
... plus, of course, the trick of sticking your list somewhere you can get
it using the my/its keyword:
script
property mrt : {long list of 10,000+ items}
property k : {}
end script
tell result
repeat with i from 1 to (the number of items in mrt)
item i of its mrt
if result is not in its k then set its k's end to result
end repeat
return its k
end tell
See also the recent Unique Items in a text file thread.
HTH
has
--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.