walle Posted December 5, 2006 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
Paulie Posted December 5, 2006 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.
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