UI scripting select rows in table

Hello all :slight_smile:

I trying to select multiple rows in table object with UI scripting… but without success… :frowning:

The following two codes do not work


tell table 1 of scroll area 1 of it
    set focused of it to true
    select {record 2 of it, record 5 of it, record 7 of it, record 8 of it}
end tell


tell table 1 of scroll area 1 of it
    set focused of it to true
    set selected of {row 2 of it, row 5 of it, row 7 of it, row 8 of it} to true
end tell

Anyone know how to select multiple rows in a table with UI scripting?

Thank you for any idea … :slight_smile: