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
To run a .bat file using shutdown menu option help
meridius
Fan Posts: 709 Joined: Jul 2010 Reputation: 1 |
2012-08-16 16:03
Post: #1
(This post was last modified: 2012-08-16 16:10 by meridius.)
|
| find quote |
meridius
Fan Posts: 709 Joined: Jul 2010 Reputation: 1 |
2012-08-16 20:17
Post: #2
anyone ? just want to be able to run a .bat file by using the shutdown option on the main home screen of xbmc
thanks |
| find quote |
phil65
Skilled Skinner Posts: 4,456 Joined: Mar 2009 Reputation: 56 Location: Cologne, Germany |
2012-08-16 20:33
Post: #3
we don´t support xbmc 10.1 anymore.
|
| find quote |
meridius
Fan Posts: 709 Joined: Jul 2010 Reputation: 1 |
2012-08-17 07:32
Post: #4
Ok thanks.
Same question then for xbmc 11 and the latest skin as I have just upgraded to that last night
(This post was last modified: 2012-08-17 07:33 by meridius.)
|
| find quote |
phil65
Skilled Skinner Posts: 4,456 Joined: Mar 2009 Reputation: 56 Location: Cologne, Germany |
2012-08-17 14:36
Post: #5
search for <onclick>ActivateWindow(1123)</onclick> in includes_mainmenu.xml. that´s the line which you have to change.
|
| find quote |
meridius
Fan Posts: 709 Joined: Jul 2010 Reputation: 1 |
2012-08-17 16:32
Post: #6
Cheers
Thanks for that will look at that later |
| find quote |

Search
Help