2009-03-29, 02:05
Hi All.
pls help me, i need to run python script after my skinned window loading event, defined as home.xml of the my skin.
How can i do it, i tryed to place next code into my window definition:
<window id="0">
<defaultcontrol always="true">300</defaultcontrol>
<allowoverlay>no</allowoverlay>
<oninit>XBMC.RunScript(U:\skin\My_Skin\Extras\Authentification\default.py)</oninit>
but i dont see anything.
thx
ps: i've not found the oninit or onload tag in the window xml structure (http://wiki.xbmc.org/?title=Window_Structure), but i think that is possible, am'i right?
pls help me, i need to run python script after my skinned window loading event, defined as home.xml of the my skin.
How can i do it, i tryed to place next code into my window definition:
<window id="0">
<defaultcontrol always="true">300</defaultcontrol>
<allowoverlay>no</allowoverlay>
<oninit>XBMC.RunScript(U:\skin\My_Skin\Extras\Authentification\default.py)</oninit>
but i dont see anything.
thx
ps: i've not found the oninit or onload tag in the window xml structure (http://wiki.xbmc.org/?title=Window_Structure), but i think that is possible, am'i right?