How to do load my "autoexec.py" from command lines? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Game support (https://forum.kodi.tv/forumdisplay.php?fid=292) +--- Thread: How to do load my "autoexec.py" from command lines? (/showthread.php?tid=363161) |
How to do load my "autoexec.py" from command lines? - Gotham777 - 2021-06-18 RE: How to do load my "autoexec.py" from command lines? - Gotham777 - 2021-06-18 Hello, I'm using AEL with autohotkey scripts to launch my steams games. I made a script to launch a Steam game that when it start close Kodi and when I close the game the "ahk script" open Kodi again. I want start Kodi in AEL section after to close the game ¿how i can to do that? is there Is there a way to load the "autoexec.py" from command line and add it to my "ahk script" to start kodi in AEL section? ahk script: Quote:run, C:\Program Files (x86)\Steam\steam.exe -no-browser -applaunch 1580780 autoexec.py: Quote:import xbmc RE: How to do load my "autoexec.py" from command lines? - garbear - 2021-06-18 (2021-06-18, 08:35)Gotham777 Wrote: Is there a way to load the "autoexec.py" from command line and add it to my "ahk script" to start kodi in AEL section? Support for autoexec.py was removed, I think for security reasons. The new way to run a script at startup is a service-addon. It's basically some XML that wraps the script, and runs at startup. Info on how to craft the XML is here: https://kodi.wiki/view/Service_add-ons |