Edit

GetListContents (listRef, bSelectedOnly)

Definition:  Gets the current contents of a list instantiated with InsertListObject or InsertEditListObject. For a selectable list object, you can specify true for the selectedOnly parameter to get only the highlighted rows.

Availability:  available within MWScript handlers.

See Also:

InsertListObject: Initialise selectable list object in a window