09-07-2007, 01:09 AM
I already can control my xbox from my computer via its http server. So say i want to restart it i click on this link
(which is a blank page)
09-09-2007, 08:45 PM
Hello every1. I am using a bluetooth remote
a simple html application should do you nice.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
i= new Image();
paste the text into a blank file, save as ex server.hta
when you double-click it, it should run in th background, ping the url, and close 5 seconds later.
the opening and closing part i know works, let me know if you need more advanced http requests to trigger your server.
09-09-2007, 09:52 PM
Here's some example VBScript (untested as I am not on windows right now, I'm going on memory.)
Just put it in a file called something like "restart xbox.vbs" and double click on it.
Set xmlhttp = CreateObject("msxml2.xmlhttp")
xmlhttp.Open "GET", "http://myxboxipadress/xbmcCmds/xbmcForm?command=restart", False
' Uncomment this to display what the page returned (there is also ResponseXML if you
' need XML instead). You could check that the status is 200 (OK) etc too or just leave
' this commented so that nothing appears on the computer even if it fails
Set xmlhttp = NothingAs you can see it is only 4 lines long and pretty simple but does the job and is flexible to whatever you may need it to do in the future.