Jump to content

Recommended Posts

Posted

I am working on a script to update SpywareBlaster 4.1. The script is run from the same folder as 'spywareblaster.exe". My code follows:

; Script Start - Add your code below here
Run("spywareblaster.exe")
Winwait("SpywareBlaster")
Sleep(3000)
; Open Updates window
ControlClick("SpywareBlaster","","[ClassNN:ThunderRT6UserControlDC16]","left",1,23,30)
Sleep(1000)
ControlClick("SpywareBlaster","","[ClassNN:ThunderRT6UserControlDC16]","left",1,23,276)
Sleep(2000)

ControlSend("SpywareBlaster","","[ClassNN:ThunderRT6UserControlDC1]","{SPACE}");press the update button
Sleep(45000);wait for updates to download - adjust setting as needed
ControlClick("SpywareBlaster","","[ClassNN:ThunderRT6UserControlDC17]","left",1,23,30);return to Protection Status window
Sleep(8000);wait for screen to load and for Enable All Protection option to appear
ControlClick("SpywareBlaster","","[ClassNN:ThunderRT6FormDC1]","left",1,56,390);Click Enable All Protection

Everything works fine up to the final line. Is ControlClick incompatible with a 'form' control?

I'd appreciate any guidance you may be able to provide.

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
  • Recently Browsing   0 members

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