Help please, how I get ID of current focused group?
#1
$INFO[ControlGroup.HasFocus] is really like what I need?

Need the ID of the currently focused group, looking now at wiki can't find ... :O

Or something like this:

$INFO[Control.GetLabel($INFO[Container().CurrentItem)],7]

As using skinshortcuts, need to get a label with dynamic ID

Seems really odd you can't!?

I can hack a button to set ID, but that is very script kiddy!! Tongue
Reply
#2
no idea, i completely fail to understand what you're trying to do ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
$INFO[System.CurrentControlID]

But $INFO inside of a $INFO label won't work.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#4
@Fred thanks Big Grin
@ronie nor do I! Big Grin
Reply
#5
lol :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#6
Am I right, I also can't use $PARAM[IDNAME] in an include content for Control.GetLabel($PARAM[IDNAME])

just tried and doesn't return string ..
Reply
#7
Should work if you hardcore it with THOUSANDS of conditions Wink

Something like this:

<include content="ParamName" condition="String.IsEqual(System.CurrentControlID),7000)">
<param name="ID" value="7000"/>
</include>
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#8
(2017-01-07, 19:07)sualfred Wrote: Should work if you hardcore it with THOUSANDS of conditions Wink

Something like this:

<include content="ParamName" condition="String.IsEqual(System.CurrentControlID),7000)">
<param name="ID" value="7000"/>
</include>

lol I'll pass thanks @sualfred Big Grin
Reply
#9
Checking back, I can't send an $INFO[System.CurrentControlID] as a PARAM? It just sends the content.

Code:
12:30:43.488 T:4804   ERROR: Misplaced [
12:30:43.488 T:4804   ERROR: Error parsing boolean expression Integer.IsGreater(Container($INFO[System.CurrentControlID]).Column,8)
12:30:43.488 T:4804   ERROR: Misplaced [
12:30:43.488 T:4804   ERROR: Error parsing boolean expression Integer.IsGreater(Container($INFO[System.CurrentControlID]).Column,7)

I see the usefullness I think, is there a way to send parsed string, $PARSE[System.CurrentControlID]?
Reply

Logout Mark Read Team Forum Stats Members Help
Help please, how I get ID of current focused group?0