All of List

Returns of an AppleScript list of all units in a List.

Usage:

all of list (text, name of the list)
returns an AppleScript list of names.

Optional Parameters

with extract
returns a list of Unit Extract Records instead of just a list of names.

Examples:

 
set AllMyLists to all of class "lists"
 
write log "we got this many lists: " & (count of items of AllMyLists)
 
repeat with ThisList in AllMyLists
  set AllInList to all of list ThisList
  write log "in list " & ThisLIst & " we got " & (count of AllInList) & " units."
 
  repeat with ThisUnit in AllInList
    write log ThisUnit
  end repeat
end repeat
dictionary/lists/alloflist.txt · Last modified: 2009/09/28 09:10 by James Sentman
CC Attribution-No Derivative Works 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0