System.CurrentWindow
#1
Hi, is this InfoLabels works? I tried on Dharma 10.1 but it's always empty label. How can I check which Window ID is currently open instead of checking all possibles ID with Window.IsVisible(id) ? Thanks in advance.
AsRock 330 HT, 2GB RAM, 320GB HDD, Openelec 3.2.4
Intel NUC D54250WYK, 4GB RAM, Kingston 120GB SSD, OpenELEC-Generic.x86_64-devel-20131126081257-r16438
Reply
#2
It doesn't appear to be working in Dharma or pre-Eden.

You can however use -

$INFO[Window.Property(xmlfile)]
Reply
#3
The current implementation will only return a value in case we're able to successfully translate it based on the current language that is set in XBMC. Alternatively (and more logically to me) we should do the lookup in the windows map (See https://github.com/xbmc/xbmc/blob/master...r.cpp#L214).

Will try to ping jmarshall.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#4
OK, thx. I've already did workaround and it works fine for me now without this. Regards.
AsRock 330 HT, 2GB RAM, 320GB HDD, Openelec 3.2.4
Intel NUC D54250WYK, 4GB RAM, Kingston 120GB SSD, OpenELEC-Generic.x86_64-devel-20131126081257-r16438
Reply

Logout Mark Read Team Forum Stats Members Help
System.CurrentWindow0