Jump to content


Photo

Startup Script For Gentoox


  • Please log in to reply
1 reply to this topic

#1 joshin2472003

joshin2472003

    X-S Young Member

  • Members
  • Pip
  • 41 posts

Posted 14 October 2009 - 09:17 AM

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!!!!!!!!!!!!!

#2 joshin2472003

joshin2472003

    X-S Young Member

  • Members
  • Pip
  • 41 posts

Posted 14 October 2009 - 06:53 PM

Okay i fixed it: i changed the xbmc.runxbe to:
xbmc.executebuiltin( "XBMC.RunXBE(E:\gentooxx.xbe)")
and it worked.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users