Hello, I have tried researching this many times. I have it down to where my selection in the scene changes. The problem is I can’t seem to find a way to change what is highlighted or selected in a list box.
I need this to change because my tool requires both to be updated in a list as when you finish pressing the button on one object in the scene it goes to the next in both.
Here is the way it currently works:
function RenameAssetButtonAction x = (
for s in selection do s.name = uniquename x
)
button theBatchButton "Batch" width:80 align:#right offset:[45,25]
on theBatchButton pressed do
(
RenameAssetButtonAction theRenamingBox.items[theRenamingBox.selection]
theSceneNamesBox.items = #()
theSceneNamesBox.items = for g in theobjs collect g.name
ItemCount = theSceneNamesBox.items.count
theNextSceneCount = ((theSceneNamesBox.selection) + 1)
firstSceneIndex = theSceneNamesBox.items[1]
nextSceneIndex = theSceneNamesBox.items[theSceneNamesBox.selection+1]
if theNextSceneCount > ItemCount then (
select (getNodeByName firstSceneIndex)
)
else (
select (getNodeByName nextSceneIndex)
)
)
Any help is greatly appreciated and thank you for your time.

