Req Problem opening dialogvideoinfo.xml window from Context Menu - 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: Req Problem opening dialogvideoinfo.xml window from Context Menu (/showthread.php?tid=380204) |
Problem opening dialogvideoinfo.xml window from Context Menu - Andrea1998 - 2025-01-18 I can't create a command or function that allows me to open the dialogvideoinfo.xml directly by pressing a button on DialogContextMenu.xml in the DialogContextMenu.xml window I created a button that should open the "information" window, I tried in various ways but I always have the following problems: if I try to use: <onclick>action(menu)</onclick> it doesn't work and neither does action(info) or other actions. if I try to use: <onclick>ActivateWindow(12003)</onclick> it works, but it opens the dialogvideoinfo.xml with old and not updated contents on the content currently in focus. (I already know that it exists and is present in the context menu, but I need it because the "information" button must always be the first selectable element, I don't want to create scripts about it, I hope there is no need). Can anyone help me, or even tell me that it is not possible? Thank you all for any help. Here is the complete code of the button in DialogContextMenu.xml
|