Cowboybebop Posted February 2, 2007 Posted February 2, 2007 Hi this is one of my first posts asking for help i usualy track down what i need with a combination of help file and forum searching. Dont burn me if this is a generic question that has been answered a hundred times. (ok enough self depricating get to the point man) I am trying to automate a program called Spyware Blaster which is full of Custom Controls at the moment i am trying to get the control handle so that i can call the control through this but it doesnt seem to work.If you need a copy of Spyware blaster you can find it here Spyware Blaster Linkand no i'm not advertising for them Opt("MouseCoordMode", 0) Opt("PixelCoordMode", 0) Dim $size, $var Run("C:\Program Files\SpywareBlaster\spywareblaster.exe") WinWaitActive("SpywareBlaster") $size = WinGetPos("SpywareBlaster") $coord = PixelSearch( 145, 365, 327, 426, 0x0066CC ) $error = @error While $error = 1 $coord = PixelSearch( 145, 365, 327, 426, 0x0066CC ) $error = @error wend MouseClick("",68,380,50) Sleep(1000) $var = ControlGethandle("SpywareBlaster" , "" , "ThunderRT6UserControlDC2") Sleep(2000) ControlClick("SpywareBlaster","",$var)If this code looks a bit basic it is because i am just testing Any suggestions how to solve this? Without resorting to mouse controlPs. I have seen the custom control funtion list Auto3lib and it seems very difficult to impliment mabey my brain is to small to comprehend the help file
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