Jump to content

HTA, HTML Application for WebUI [IE7] (WebUI in it's own window)


JrezIN

Recommended Posts

Hello everybody,

I've written a small HTA code for displaying µTorrent's WebUI in it's own windows (and memory space). You must be using IE7 as that what µTorrent's WebUI requires, the HTA code itself can run since IE5.

It's very simple, and probably can be improved with some scripting, but anyway... just take the above code and save it to a new notepad; fill the µTorrent's WebUI's address and user:password; them save it (anywhere, maybe in your desktop) as µTorrentWebUI.hta (make sure to save as All Files (*.*) instead of Text Documents (*.txt) ... and them... double click it.

And that's it.

<HTML>
<HEAD>
<HTA:APPLICATION
border="thin"
borderStyle="normal"
caption="yes"
icon="http://LOGIN:PASSWORD@ADDRESS:PORTNUMBER/gui/favicon.ico"
maximizeButton="yes"
minimizeButton="yes"
showInTaskbar="yes"
windowState="normal"
innerBorder="no"
navigable="yes"
scroll="auto"
scrollFlat="no" />


<title>µTorrent#180s WebUI</title>
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="1" marginleft="0" marginright="0" margintop="0" marginbottom="1">
<IFRAME SRC="http://LOGIN:PASSWORD@ADDRESS:PORTNUMBER/gui/" APPLICATION="yes" width="100%" height="100%">


</body>
</html>

If you're using it in your own computer, the "ADDRESS" can be changed to 127.0.0.1 or localhost . Everything else just fill like your µTorrent > Options > Preferences > Advanced > Web UI. Check the Web UI topic for WebUI's help.

Link to comment
Share on other sites

  • 1 year later...

The point behind this HTA is so that you *don't* need to access it from a browser (not directly anyway -- it's still using IE as its backend). If you want to embed it in a webpage, you can already do so using frames or iframes. And HTA isn't a standard anyhow, so it wouldn't work cross-browser anyhow.

Link to comment
Share on other sites

  • 1 year later...

Nope, not working due to some bug in the way MooTools interacts with HTA. Looks like MooTools devs aren't interested in fixing it, so users of this HTA may well be SOL. I tried debugging it myself for about an hour, but couldn't reach any obvious conclusion as to why it was failing.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...