To run a .bat file using shutdown menu option help - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Aeon Nox: Silvo (https://forum.kodi.tv/forumdisplay.php?fid=142) +---- Thread: To run a .bat file using shutdown menu option help (/showthread.php?tid=138423) |
To run a .bat file using shutdown menu option help - meridius - 2012-08-16 Hi all I was wanting to know how to run a .bat file by using the shutdown button on the main menu screen ? i have had a look at the DialogButtonMenu.xml and found this <control type="button" id="1"> <description>Exit XBMC</description> <label>[UPPERCASE]$LOCALIZE[13012][/UPPERCASE]</label> <include>Objects_ContextMenuButton</include> <onclick>XBMC.Quit()</onclick> </control> and changed it to this <control type="button" id="1"> <description>Exit XBMC</description> <label>[UPPERCASE]$LOCALIZE[13012][/UPPERCASE]</label> <include>Objects_ContextMenuButton</include> <onclick>XBMC.System.Exec(c:/exit.bat)</onclick> </control> this works for the context menu "exit" but wanted to do this on the home screen where it says shutdown is there a way to do this, i am using xbmc 10.1 and aeon nox skin thanks RE: To run a .bat file using shutdown menu option help - meridius - 2012-08-16 anyone ? just want to be able to run a .bat file by using the shutdown option on the main home screen of xbmc thanks RE: To run a .bat file using shutdown menu option help - phil65 - 2012-08-16 we don´t support xbmc 10.1 anymore. RE: To run a .bat file using shutdown menu option help - meridius - 2012-08-17 Ok thanks. Same question then for xbmc 11 and the latest skin as I have just upgraded to that last night RE: To run a .bat file using shutdown menu option help - phil65 - 2012-08-17 search for <onclick>ActivateWindow(1123)</onclick> in includes_mainmenu.xml. that´s the line which you have to change. RE: To run a .bat file using shutdown menu option help - meridius - 2012-08-17 Cheers Thanks for that will look at that later |