2012-08-16, 01:52
Hi all
I was wanting to know how to run a .bat file by using the exit button in the menu ? 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>
I was wanting to know how to run a .bat file instead of the exit command is there a way as i tried this
<control type="button" id="1">
<description>Exit XBMC</description>
<label>[UPPERCASE]$LOCALIZE[13012][/UPPERCASE]</label>
<include>Objects_ContextMenuButton</include>
<onclick.(c:/exit.bat)</onclick>
</control>
and nothing happens can anyone tell me how to
thanks
I was wanting to know how to run a .bat file by using the exit button in the menu ? 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>
I was wanting to know how to run a .bat file instead of the exit command is there a way as i tried this
<control type="button" id="1">
<description>Exit XBMC</description>
<label>[UPPERCASE]$LOCALIZE[13012][/UPPERCASE]</label>
<include>Objects_ContextMenuButton</include>
<onclick.(c:/exit.bat)</onclick>
</control>
and nothing happens can anyone tell me how to
thanks