Difference between revisions of "Autoexec Service"

From Official Kodi Wiki
Jump to: navigation, search
(Created page with "{{incomplete}} autoexec.py is an optional python script that users can create in their userdata folders that will be executed when XBMC starts up. Category:XBMC Manual")
 
Line 2: Line 2:
  
 
autoexec.py is an optional python script that users can create in their [[userdata]] folders that will be executed when XBMC starts up.
 
autoexec.py is an optional python script that users can create in their [[userdata]] folders that will be executed when XBMC starts up.
 +
 +
An example of a autoexec.py is this script that opens up the video files view focused on the root of C:\
 +
 +
import xbmc
 +
xbmc.executebuiltin('XBMC.ActivateWindow(videofiles,C:\)')
  
 
[[Category:XBMC Manual]]
 
[[Category:XBMC Manual]]

Revision as of 11:57, 18 May 2013

Incomplete.png INCOMPLETE:
This page or section is incomplete. Please add information or correct uncertain data which is marked with a ?

autoexec.py is an optional python script that users can create in their userdata folders that will be executed when XBMC starts up.

An example of a autoexec.py is this script that opens up the video files view focused on the root of C:\

import xbmc xbmc.executebuiltin('XBMC.ActivateWindow(videofiles,C:\)')