2014-02-12, 18:28
Hi,
I'm really hoping that someone can help me with a problem I'm having.
I'm working on a script addon that has dialogs etc, and I want to make use of some common control code.
I thought that I would be able to add this to a new XML file (i.e. includes.xml or script-sonos-includes.xml) and then reference it from another windows.xml file and add in the controls.
I have tried several things, but it never seems to pull in any of the controls defines in the XML file.
I had hoped that just <include file="script-sonos-includes.xml" /> would work - but it doesn't
Is it possible to use the <include> tag when doing window.xml files for addons - and does anyone know of an example where this has been used in an addon.
Thanks in advance!
Rob
I'm really hoping that someone can help me with a problem I'm having.
I'm working on a script addon that has dialogs etc, and I want to make use of some common control code.
I thought that I would be able to add this to a new XML file (i.e. includes.xml or script-sonos-includes.xml) and then reference it from another windows.xml file and add in the controls.
I have tried several things, but it never seems to pull in any of the controls defines in the XML file.
I had hoped that just <include file="script-sonos-includes.xml" /> would work - but it doesn't
Is it possible to use the <include> tag when doing window.xml files for addons - and does anyone know of an example where this has been used in an addon.
Thanks in advance!
Rob