map_as_list

map_as_list(block)

Repeat to call do handler of given script object with passing each element as an argument.An AppleScript's list of the results of do handler is returned.

A parameter “block” is a script object which have a do handler accpepting only one argument.

Each elements in the target XList will be passed to the do handler.

Parameters
Result

list