How do I find IDs for menu elements? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: How do I find IDs for menu elements? (/showthread.php?tid=379986) |
How do I find IDs for menu elements? - FlyveHest - 2025-01-02 I am trying to write a small script that will "reset" KODI to the homescreen, with the "Movies" menu item selected, but I can't for the life of me get it to work. I am using the built-in function "ActivateWindowAndFocus", and have dived into the estuary skin code, but haven't been able to determine the ID of the "Movies" element in the menu. Is there a way to enable some form of debugging so I can see the IDs of windows / elements while navigating of in the debug log? RE: How do I find IDs for menu elements? - jjd-uk - 2025-01-02 You want the action Skin.ToggleDebug() for example I have it within my keymap as
This will give you an overlay and Focused will show the ID of the currently selected control. RE: How do I find IDs for menu elements? - FlyveHest - 2025-01-02 That was exactly it, thanks a lot for the prompt help, i've bound the action as well, for future tinkering RE: How do I find IDs for menu elements? - scott967 - 2025-01-16 Just keep in mind that builtin works for skin (xml) ids, but doesn't give useful results for Kodi internal ids. scott s. . |