Jump to content

PURERA script for you guys


Recommended Posts

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...