User Tools

Site Tools


dictionary:lists:alloflist

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: 2023/02/13 14:52 by 127.0.0.1