2009-06-21, 14:34
Hi,
I am trying to modify PM3-HD skin to suit my needs but I got troubles finding some (missing ?) information.
Before asking, I made a lot of research on the wiki, forum and even with my friend Google. But I can not find anything regarding this :
So, how do I set an absolute path (working on all platforms if possible) to run a script when clicking on a freshly created button on a skin :
I found <onclick>Runscript(q:\scripts\test.py</onclick> several time but this does not work on my Windows box
I know that <onclick>Runscript(c:\Program Files\XBMC\scripts\test.py</onclick> is working but I would like an universal path (Something like %XBMC%\scripts\test.py as an example)
Any help will be more than appreciated
I am trying to modify PM3-HD skin to suit my needs but I got troubles finding some (missing ?) information.
Before asking, I made a lot of research on the wiki, forum and even with my friend Google. But I can not find anything regarding this :
So, how do I set an absolute path (working on all platforms if possible) to run a script when clicking on a freshly created button on a skin :
I found <onclick>Runscript(q:\scripts\test.py</onclick> several time but this does not work on my Windows box
I know that <onclick>Runscript(c:\Program Files\XBMC\scripts\test.py</onclick> is working but I would like an universal path (Something like %XBMC%\scripts\test.py as an example)
Any help will be more than appreciated