Returns of an AppleScript list of all units in a List.
all of list (text, name of the list)
returns an AppleScript list of names.
with extract
returns a list of Unit Extract Records instead of just a list of names.
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