Introduction
This is an addon for the .. addon. uh yeah, works with the uTorrent WebUI script i released a day or so ago http://www.hawkee.com/snippet/5461/ this is the first release of it and i will be making it into a toolbar item soon and adding icons for pause/download etc.
Updates
Version 1.0
Screenshot
; µTorrent Window by Jonesy44 =======;
; irc.chatscape.net // #chatscape ===;
; Version 1.0 =======================;
; ===================================;
; DO NOT EDIT ANYTHING IN THIS FILE==;
; UNLESS YOU KNOW WHAT YOU'RE DOING==;
; ===================================;
; You will need µTorrent open and ===;
; running with the webUI enabled. ===;
; You will also require the addon ===;
; for mIRC, which can be found at ===;
; http://www.hawkee.com/snippet/5461/;
; ===================================;
alias ut.window {
window -pCk0ad +fbn @uTorrent -1 -1 256 $calc(24 + 32) images/utorrent.ico
window -pCk0adh +fbn @uTorrent.buf -1 -1 256 $calc(24 + 32)
ut.window.update
.timerwindowut 0 1 ut.window.update
}
alias ut.window.update {
ut.ref
if (!%ut.windowhash) { set %ut.windowhash $$input(Please enter the hash for the torrent,eq,uTorrent - Info input) }
var %hash = %ut.windowhash
drawrect -f @uTorrent.buf 0 0 0 0 256 32
drawtext -c @uTorrent.buf 6 Arial 11 1 1 240 11 $ut.getinfo(%hash,name)
drawtext -c @uTorrent.buf 14 Arial 10 1 14 125 10 D: $+ $b2m($ut.getinfo(%hash,download_speed)) $+ /s U: $+ $b2m($ut.getinfo(%hash,upload_speed)) $+ /s
drawrect @uTorrent.buf 14 1 129 15 112 10
drawrect -f @uTorrent.buf 15 0 130 16 $round($calc(($ut.getinfo(%hash,downloaded) / $ut.getinfo(%hash,size)) * 110),0) 8
drawtext -c @uTorrent.buf 1 Arial 10 175 14 30 10 $calc($ut.getinfo(%hash,percent) / 10) $+ %
drawcopy @uTorrent.buf 0 0 256 32 @uTorrent 0 0
}
on *:close:@uTorrent: {
if ($input(Would you like to open this torrent next time you use the uTorrent window?,yq,uTorrent - Option) == $yes) {
unset %ut.windowhash
}
.timerwindowut off
window -c @uTorrent.buf
}
You'd need to ask this on the main script version, this was more of a side-project. Possibly even in the forums? I don't use Windows anymore, so I don't have mIRC installed anymore. Sorry.
FYI: It wouldn't be too hard to make. The main script downloads all of the current data in uT to a file (utorrent.temp, utorrentnthash.temp) and then the program reads the data from there. If you wrote a script to take the data from the file that would work. :)
Here's a link to the original script: http://www.hawkee.com/snippet/5461/
Sorry I couldn't be of more help!