2014-07-16, 20:07
I've moved my post to the generic Development forum as I realize it's not strictly speaking skinning.
I know to use <onclick>XBMC.RunScript(path, args)</onclick>, but my problem is with the "path" part.
I'm trying to get my button to execute a script that's bundled with the skin, but I can't figure out the relative/special path (so that it always works, regardless of platform or location).
The structure is as follows:
myskin
-resources
--skins
---default
----720p
-----[skin xml files]
--lib
---[my script files]
What path can I specify in the <onclick> tag that will properly point to the \resources\lib folder?
I've tried special://skin, but I can't figure out which folder level that actually points to.
I know to use <onclick>XBMC.RunScript(path, args)</onclick>, but my problem is with the "path" part.
I'm trying to get my button to execute a script that's bundled with the skin, but I can't figure out the relative/special path (so that it always works, regardless of platform or location).
The structure is as follows:
myskin
-resources
--skins
---default
----720p
-----[skin xml files]
--lib
---[my script files]
What path can I specify in the <onclick> tag that will properly point to the \resources\lib folder?
I've tried special://skin, but I can't figure out which folder level that actually points to.