Win Start *.py with parameter / jump directly to videos
#1
Hello,

ich want to build 3 different Links to xbmc.exe, that each start different startup screens.

It works, when i write
Code:
import xbmc
xbmc.executebuiltin( "ActivateWindow(Videos, MovieTitles, return)" )
into the autoexec.py in the userfolder,
but when i put the same code into a
video.py and start
Code:
"xbmc.exe" -RunScript(C:\ABSOLUTEPATHTOUSERDIR\video.py)
it just starts the normal home-screen of xbmc. Sad

I got that RunScript-thing from
http://wiki.xbmc.org/index.php?title=Lis..._functions
but i guess i it just meant to be used in a python script?

how do i make it work?
im no good with python...
Reply
#2
I guess the easiest way to solve this is with calling one script* with an parameter (or three scripts) that changes the autoexec.py to the right one and then starts XBMC.

* batch/powershell/vbscript/python or what you prefer
Reply

Logout Mark Read Team Forum Stats Members Help
Start *.py with parameter / jump directly to videos0