IDE Script: can we get the selected controlitems?

Hi Folks,

I’m trying to get the selected controlitems in a window in the IDE, and using an ide script I was hopping to get the names of all the controls selected to paste them in a method.

but it seems we can’t get the selected items in a window with xojoscript ?

has anyone found a workaround for this ?

thanks.