SettingsCategory grouplist 3
#1
Is there a way to get the focused item of this list so I can use it for a trigger for a animation?
Reply
#2
What do you mean by 'get'? Get the label?

Code:
System.CurrentControl
Reply
#3
That would work but I would prefer the button I'd or list position... I tried container(). Position or current item I forgot I tried so much but couldnt anything.

Basically I want to make something move when one of the button in grouplist 3 has focus... If that makes sense.
Reply
#4
Code:
ControlGroup(3).HasFocus(button_id)

http://kodi.wiki/view/Skinning_Manual#Control
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#5
Does not work in leia haven't tested other verisons

Control(3).Hasfocus works for a the whole group but I want to know the button id in the control..

So Control Group(3).hasfocus(the I'd that I am trying to get) may work if I knew the I'd.
Reply
#6
You can get the ID of the currently focused control with:
Code:
$INFO[System.CurrentControlID]

Note that items in the settings section have negative values e.g. -95
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply

Logout Mark Read Team Forum Stats Members Help
SettingsCategory grouplist 30