PDA

View Full Version : Option to add skin buttons to launch .xbe's


rintin
2004-08-21, 17:08
hi guys,
i've tried searching but i cant find out how to link a button ive added in the main menu (followed online manual) to hddloader's .xbe, i saw somewhere that you can link to a script which will launch it but they didn't post an example? any help would be great
thanks :thumbsup:

Hullebulle
2004-08-21, 19:36
please search the forum. this question has been addressed several times already.

rintin
2004-08-21, 19:49
what do i search for? as i said brfore i have tried.
i searched for things like:
python to launch program
python to launch xbe
add button to launch program
how to add a button that will launch xbe

with no luck? i realise you guys are busy and all but a little help would be nice. and if there are so many posts why is'nt it in the online manual or even a stick.
thanks

ezar2003
2004-08-21, 19:55
test it (http://www.xboxmediaplayer.de/cgi-bin/forums/ikonboard.pl?act=st;f=2;t=5764)
good luck

rintin
2004-08-21, 20:09
thanks for that but i found that already, i'll try and explain myself a bit better :d

example: add a button for mytheatre python in home.

a) edit skin\pal<ntsc>\home.xml for add the button.
* <control>
* * <description>scripts normal push button</description>
* * <type>button</type>
* * <id>7</id>
* * <posx>60</posx>
* * <posy>285</posy>
* * <label>9</label>
* * <script>q:\scripts\mytheatre.py</script>
* * <font>font16</font>
* * <textcolor>ff030405</textcolor>
* * <onleft>20</onleft>
* * <onright>22</onright>
* * <onup>4</onup>
* * <ondown>15</ondown>
* </control>

b) add label (text) in language/<your language>
<string>
* <id>9</id> *
* <value>digital+</value>
</string>


all that is cool i get my button on my menu but when i click it nothing happens and the reason is to do with this
"<script>q:\scripts\mytheatre.py</script>"
i've tried:
"<script>f:\apps\hddloader\default.xbe</script>"
which does not work? then i found this post (http://www.xboxmediaplayer.de/cgi-bin/forums/ikonboard.pl?act=st;f=2;t=5773;hl=add+buton+to+lau nch+xbe) that says you can use a python script to launch it, could someone show me/us how to do this please.
thanks guys *:kickass:

rintin
2004-08-27, 12:18
guess no one knows then :sniffle:

jmarshall
2004-08-27, 14:10
if you wait a week or so, there'll be direct support for loading of xbe's directly from the skin.

in the mean time, do a search for autoexec.py and use that.

nimbles
2004-08-27, 18:50
yeah unfortunately unless there have been a few changes recently- it isn't possible to launch an .xbe file from python so i guess you'll have to wait for jamrashall to work his considerable magic i'm afraid

using <script></script> would not work for xbe's i was thinking you could make a script launch an xbe but from what i've read launching xbe's from scripts is not yeat possible :(