- Edited
jonSS I wanted to get an array from itemList
An array of what? get_selected_items()
will simply return an array of integers containing the indices of selected list items. An array of all items in the list would be equivalent to what is returned by range(0, item_list.item_count)
. That's why I above said that this array is implicit. You always know/have this array.