how to runscript ? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: how to runscript ? (/showthread.php?tid=230709) |
how to runscript ? - nero12 - 2015-06-28 I have the following code Code: if dialog.yesno('Invalid Session', right now the above code open settings page. II want to run the below py file instead. if user click "yes" and NOT open settings page. special://home/addons/plugin.video.myplugin/killSessions.py Thank you, much appreciated. RE: how to runscript ? - nero12 - 2015-06-28 okay i figured it incase others have similar issue, i added this line: xbmc.executebuiltin('RunScript(special://home/addons/plugin.video.myplugin/killSessions.py)') |