roadkill Posted December 22, 2005 Report Share Posted December 22, 2005 I'm not asking for a shut down/exit when a download finishes so I can leech.I'm only asking for a way to schedule to shutdown/exit at a specific time because my ISP has download caps except from 1 to 8 in the in the morning and because of this I only download at night and scheduled my pc to shutdown after 8. Whenever I have the client open I share.Is there any chance this could be done in a future release? Link to comment Share on other sites More sharing options...
splintax Posted December 22, 2005 Report Share Posted December 22, 2005 you can use the scheduler to stop downloads... might be simpler? Link to comment Share on other sites More sharing options...
Firon Posted December 22, 2005 Report Share Posted December 22, 2005 Why can't you just use the scheduler to stop torrents? Link to comment Share on other sites More sharing options...
roadkill Posted December 22, 2005 Author Report Share Posted December 22, 2005 Because I have Windows scheduled tasks shutdown my computer... I would like utorrent to exit before that happens. Link to comment Share on other sites More sharing options...
splintax Posted December 22, 2005 Report Share Posted December 22, 2005 what? Surely Windows' task scheduler would close down the app (in a friendly manner)? Why does µT need to terminate itself? Link to comment Share on other sites More sharing options...
roadkill Posted December 22, 2005 Author Report Share Posted December 22, 2005 what? Surely Windows' task scheduler would close down the app (in a friendly manner)?I can actually do this with Azureus. I had a task run TriggerMenuItem, which "trigers" the exit of Azureus' file menu.Links:http://www.alphawolf.org/software/http://azureus.sourceforge.net/plugin_details.php?plugin=winstartstopIf I could figure out a way to do the same with µT, I'd be sorted...Why does µT need to terminate itself?Guess not..., but figuring out a way to get it done is what I'm trying to do here. Link to comment Share on other sites More sharing options...
splintax Posted December 22, 2005 Report Share Posted December 22, 2005 No, but I mean, when Windows shuts down, it automatically closes the programs that are currently open. As long as the program is fairly bug-free, Windows should close it just the same as if you pressed the "red X". Link to comment Share on other sites More sharing options...
roadkill Posted December 22, 2005 Author Report Share Posted December 22, 2005 No, but I mean, when Windows shuts down, it automatically closes the programs that are currently open. As long as the program is fairly bug-free, Windows should close it just the same as if you pressed the "red X".That didn't work too well with Azureus, because every time it starts up from an improper exit it would recheck incomplete torrents...How does uTorrent handle improper exits?edit: Anyhow I just killed the uTorrent process and on startup it rechecks incomplete torrents like Azureus does from an improper exit.Actually a Windows shutdown will not do this, I corrected myself below.edit2: What I would appreciate is if anyone can help me figure out a way to get TriggerMenuItem to work with µTorrent:This is the syntax of the command: TriggerMenuItem "WindowClass" "Window Title" "Path\To\Menu\Item"To trigger the exit of Azureus' file menu I use this: TriggerMenuItem "SWT_Window0" "Azureus" "File\Exit"I changed it to this for µTorrent: TriggerMenuItem "SWT_Window0" "µTorrent 1.3" "File\Exit"And I get the following error:Window with class "SWT_Window0" and title "╡Torrent 1.3" not found."I'm guessing it doesn't recognize the "µ" character as a "╡". Any work around for this?edit3: Actually let me take this back uTorrent somehow manages a proper exit from a windows shutdown, on the following uTorrent startup it didn't recheck incomplete downloads.I thought killing the process via TaskManager would replicate this, but it apparently doesn't. Link to comment Share on other sites More sharing options...
DomZ Posted December 22, 2005 Report Share Posted December 22, 2005 Wow, just edit your posts! Link to comment Share on other sites More sharing options...
roadkill Posted December 22, 2005 Author Report Share Posted December 22, 2005 lol, I usually do… since I'm testing things as I go… hence the 3 previous posts.It's no biggie, anyhow. Link to comment Share on other sites More sharing options...
Ultima Posted December 22, 2005 Report Share Posted December 22, 2005 It's against the forum rules though (and bad forum etiquette) O.o Link to comment Share on other sites More sharing options...
roadkill Posted December 22, 2005 Author Report Share Posted December 22, 2005 yes sir, I'll try harder next time Link to comment Share on other sites More sharing options...
silverfire Posted December 22, 2005 Report Share Posted December 22, 2005 One possible solution to a lot of these "I want µTorrent to do XXX" requests is AutoHotkey (I'm too lazy to find the link for it right now, so please Google it). You can write macro scripts and then compile them into exe's that you can run with the Windows Scheduler. Link to comment Share on other sites More sharing options...
idle.newbie Posted December 23, 2005 Report Share Posted December 23, 2005 http://www.beyondlogic.org/solutions/processutil/processutil.htmi use this command line tool to do all these process thing, use "process.exe -q utorrent.exe" to send WM_CLOSE message to µT(unckeck 'Close to system tray'). Link to comment Share on other sites More sharing options...
Firon Posted December 23, 2005 Report Share Posted December 23, 2005 µTorrent exits cleanly on a shutdown so this isn't really necessary. Link to comment Share on other sites More sharing options...
chaosblade Posted December 23, 2005 Report Share Posted December 23, 2005 Anyway, if you want to use your Trigger command, SWT is the window class for azureus (as it uses the java SWT classes). The window class for uTorrent would be "µTorrent4823DF041B09". Link to comment Share on other sites More sharing options...
dandar3 Posted June 2, 2007 Report Share Posted June 2, 2007 Hi,I have an internet connectiong with a daily quota of 1 GB and since my request for embedding logic in uTorrent to be able to set a daily quota was bluntly shut down, I wrote myself a little .Net program that does just that.Feel free to give it a try and let me know if you find any problems or if you have any requestshttp://dandar3.blogspot.com/2007/06/network-monitor.html Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.