walle Posted December 5, 2006 Share Posted December 5, 2006 (edited) Hey again!Well, this time I need help finding a status bar in Utorrent as it wont load my .au3 converted .exe file when it finshed downloading a .torrent.Here is the little bar and some information.And my codeOpt("MouseCoordMode", 2) ;1=absolute, 0=relative, 2=client Opt("PixelCoordMode", 2) ;1=absolute, 0=relative, 2=client Dim $coord While 1 If $coord = PixelSearch( 113, 34, 1039, 358, 0x40d400 ) Then Sleep("1000") WinSetState("µTorrent", "", @SW_MAXIMIZE) Sleep("2000") mouseClick("left", 202, 108, 1, 0) sleep("2000") mouseClick("left", 202, 108, 1, 0) sleep("1000") Send("{left 50}") send("{SHIFTDOWN}{right 10}{SHIFTUP}") Send("^c") sleep("1000") WinSetState("µTorrent", "", @SW_MINIMIZE) send("#r") WinWaitActive("Kör") send("C:\Documents and Settings\Admin\Mina dokument\Film macro\") send("{enter}") sleep("1000") send("{down 4}") sleep("1000") send("{ALT}{down 14}{enter}") sleep("1000") Send("^v") send("{enter}") send("{enter}") sleep("2000") EndIf WendI want the rest of the script to load when the statusbar turned green.//Walle Edited December 5, 2006 by walle Link to comment Share on other sites More sharing options...
Paulie Posted December 5, 2006 Share Posted December 5, 2006 BumpUse a descriptive title next time.And your use of "Send" and "Mouseclick", and "Sleep() in a program is unnerving, look into ControlClick(), and Control Send. Link to comment Share on other sites More sharing options...
walle Posted December 6, 2006 Author Share Posted December 6, 2006 Bump, Cmon ppl Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now