map_as_list

map_as_list(a_script)

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 "a_script" must have a do handler which require only argument.

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

Parameters
Result

list