spec1alk Posted August 16, 2008 Report Share Posted August 16, 2008 I got tired of coming back to find that uTorrent had crashed. So I used a product called AutoIt to create a restart application.Here is the script:#Region ;**** Directives created by AutoIt3Wrapper_GUI ****#AutoIt3Wrapper_icon=..\Icons\filetype3.ico#AutoIt3Wrapper_outfile=µTorrentRestart.exe#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****$Continue = TrueWhile $Continue = True ; check if the crash dialog exists If WinExists("µTorrent") Then ; activate the crash dialog $Activate = WinActivate("[TITLE:µTorrent]", "") ; click the ok button $Click = ControlClick ( "µTorrent", "", "OK" ) EndIf Sleep(60000)WEndBasically the script looks for the crash dialog every 60 seconds and then clicks the ok button. Nothing fancy, and it works great.Enjoy. Link to comment Share on other sites More sharing options...
DreadWingKnight Posted August 16, 2008 Report Share Posted August 16, 2008 Figure out why it's crashing and you won't need this clumsy workaround. Link to comment Share on other sites More sharing options...
thelittlefire Posted August 17, 2008 Report Share Posted August 17, 2008 ... You have bigger problems than restarting your uTorrent.exe man. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.