Kodi Community Forum
ActivateWindow Different behavior in keyboard.xml? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: ActivateWindow Different behavior in keyboard.xml? (/showthread.php?tid=122068)



ActivateWindow Different behavior in keyboard.xml? - Voron - 2012-02-05

Hello! I am using Eden with Alaska Revisited skin. I have assign onclick action on one of buttons on home screen in "Includes_HomeDefault.xml":
Quote:<onclick>ActivateWindow(10025,&quot;\\\\MediaServer\\Media\\Media\\Сериалы\\&quot;,return)</onclick>
this is openning on of my video sources.
but the same action assigned in keayboard.xml does't work properly, it just open a list of my sources.
Quote:<i mod="ctrl">ActivateWindow(10025,&quot;\\\\MediaServer\\Media\\Media\\Сериалы\\&quot;,return)</i>
I have tried diiferent keys, ReplaceWindow, deleting "return", deleting russian symbols in path and "XBMC." prefix. Nothing changed.
What's wrong? Pls help me understand. Or mayby the is existing something like "DoClick(controlID)"?