Help - Search - Members - Calendar
Full Version: Startup Script For Gentoox
Scenyx Entertainment Community > Xbox1 Forums > Software Forums > XBMC for Xbox Forums > XBMC Python Scripting Forum
joshin2472003
Hi, i've search the internet and have ended up here. Im trying to have my autoexec.py run a script that starts my gentoo. Here is what i have:

I have my autoexec.py in E://XBMC/ and E://XBMC/scripts (Wasn'ts sure where to put it)

here's my autoexec.py
# auto execute scripts when xbmc starts, place this file in xbmchome\scripts\

#

# note: - do not execute more than one script at a time which asks for user input!



import xbmc
#import time


#time.sleep(120)

xbmc.executescript('q:\\scripts\\linux.py')




linux.py is in E://XBMC/scripts
it's contents:
#XBMC.#

###################################################################

#Launches Linux after a

#

###################################################################




import xbmc



XBMC.RunXBE(E:\gentooxx.xbe)



Thank you i would appreciate any help: THanKs!!!!!!!!!!!!!
joshin2472003
Okay i fixed it: i changed the xbmc.runxbe to:
xbmc.executebuiltin( "XBMC.RunXBE(E:\gentooxx.xbe)")
and it worked.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.