how to runscript ?
#1
I have the following code


Code:
if dialog.yesno('Invalid Session',
                                message,
                                '',
                                'Please click yes to kill all sessions'):
                    plugin.open_settings()

                else:

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.
Reply
#2
okay i figured it incase others have similar issue, i added this line:

xbmc.executebuiltin('RunScript(special://home/addons/plugin.video.myplugin/killSessions.py)')
Reply

Logout Mark Read Team Forum Stats Members Help
how to runscript ?0