engjcowi Posted June 20, 2010 Posted June 20, 2010 Hi guys i made the following script and though someone may find it useful. if anyone has any others like it i would love to see and learn. This will run the great utility purera which you can search on google for cheers Run(@scriptdir & '\PureRa.exe') WinWaitactive("PureRa 1.5", "Created by RaProducts.org") If Not WinActive("PureRa 1.5", "Created by RaProducts.org") Then WinActivate("PureRa 1.5", "Created by RaProducts.org") ControlClick("PureRa 1.5","Next",1003) ControlClick("PureRa 1.5","",1013) ControlClick("PureRa 1.5","",1012) ControlClick("PureRa 1.5","",1001) While ProcessExists("purera.exe") If WinExists("PureRa - Done!", "Total space cleaned:") Then WinActivate("PureRa - Done!", "Total space cleaned:") WinWaitActive("PureRa - Done!","Total space cleaned:") ControlClick("PureRa - Done!","OK",2) EndIf If WinExists("PureRa 1.5", "Finished!") Then WinActivate("PureRa 1.5", "Finished!") WinWaitActive("PureRa 1.5", "Finished!") ControlClick("PureRa 1.5","",1011) ControlClick("PureRa 1.5","",1005) EndIf Sleep(500) ; let the computer do something WEnd exit end Drunken Frat-Boy Monkey Garbage
Mat Posted June 20, 2010 Posted June 20, 2010 What does the "end" on the last line do? AutoIt Project Listing
engjcowi Posted June 20, 2010 Author Posted June 20, 2010 sorry shouldnt be there lol just ignore Drunken Frat-Boy Monkey Garbage
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