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.