Posts: 4
Joined: Sep 2006
Reputation:
0
is it possible to run scripts just by adding a link in my programs?
that would be nearly what i need..
i want to put shortcuts just on youtube script and stuff like that..
Posts: 4
Joined: Sep 2006
Reputation:
0
how should such an entry look like?
<item>
<name> GoogleVideos </name>
<path>c:\scripts\script.py</path>
</item>
am i right?
thx
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
This is already possible. You would need to create a custom window. In that custom window, you add button controls and use <onclick>XBMC.RunScript(Q:\Scripts\Scriptname.py)</onclick>. Lastly you need to make your menu accessible using the Xbmc.ActivateWindow(12345) command. This can be the onclick action for a button in the skin, or you can map this command to a gamepad or remote button in keymap.xml
Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
Most of what the majority of you are asking for can already, very easily be done if you edit your skins... I did much of this already in mine.
What we REALLY need is ability to access the Scripts folder via a standard list, like My Programs does, but be able to hide specified folders that we do not want the general public to see. Then have a passworded way to show them when we need to.
I'm not an expert but I play one at work.