Forum Discussion
cunderw
8 years agoCommunity Hero
Using object height is never a good idea for identifying objects, it is to subject to change.
Is this a list? You could just call the list.ClickItem(<item>) and create something that will translate which item you are wanting to click.
function selectItem(item,language) {
let items = {
item1 : {
lang1 : "english",
lang2 : "spanish"
}
}
list.ClickItem(item[item][language])
}