(2014-02-03, 09:02)Mudislander Wrote: There is a script emerging elsewhere for Gotham that will allow user defined menu items that are transportable to any skin using it - Maybe it would suit this idea.
I presumed you were talking about skin shortcuts and, as it's a very interesting idea, I has a play to see how easily it could be done. Assuming the user is happy to create an overrides.xml file like the following, quite easily. (Though I implemented it as an overlay to the home page, rather than whole window itself, primarily because skin shortcuts doesn't provide fanart)
Code:
<?xml version="1.0" encoding="UTF-8"?>
<overrides>
<override action="KidsOverlay">
<action>SetProperty(menuoverlay,kids,10000)</action>
<action>ActivateWindow(1000)</action>
</override>
</overrides>
Then a custom window (in this example, obviously it would be id 1000), with a list with the content tag
Code:
<content>plugin://script.skinshortcuts?type=list&group=$INFO[Window(10000).Property(menuoverlay)]-overlay</content>
(Note I added "-overlay" so this menu would be unique from a main menu entry of "Kids", for example)
A button to edit the list...
Code:
<onclick>RunScript(script.skinshortcuts,type=manage&group=$INFO[Window(10000).Property(menuoverlay)]-overlay)</onclick>
<onclick>Dialog.Close(1000)</onclick>
And to close the dialog after the user has selected a shortcut, the following in home.xml
Code:
<onunload>Dialog.Close(1000)</onunload>
Then a menu item just needs a custom action set to the override action in the overrides.xml - in this example "KidsOverlay", for a final effect of something like