Kodi Community Forum
SetString from $INFO[Control.GetLabel()] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: SetString from $INFO[Control.GetLabel()] (/showthread.php?tid=192510)



SetString from $INFO[Control.GetLabel()] - toyota12303 - 2014-04-17

Hello all,

I was just wandering if it is possible to set a string from :

PHP Code:
$INFO[Control.GetLabel(402)] 

I have tried using :

PHP Code:
Skin.SetString(Kai$INFO[Control.GetLabel(402)]) 
And
PHP Code:
Skin.SetString(KaiControl.GetLabel(402)) 

But this still doesn't work. The first one just leaves the string blank. And the second one sets the string to Control.GetLabel(402). (Because there is no $INFO[] around it).

Does anyone have any ideas of what to do ? as i am really stuck on this.

Cheers


RE: SetString from $INFO[Control.GetLabel()] - Hitcher - 2014-04-17

I'm pretty sure the value can't be an info label.