Guest LambChopMan Posted April 30, 2005 Posted April 30, 2005 I want to use AutoIt to auto update spywareblaster's defintion file. However, this app has not text, no control ID. Anything I can do to locate the update key other than fixing X, Y or the mouse coordinates? I use multiple display and change my default monitor from time to time. It will be difficult use the mouse corrindates either. ==============================================Press CTRL-ALT-F to pause the display.>>>>>>>>>>>> Window Details <<<<<<<<<<<<<Title: SpywareBlasterClass: ThunderRT6MDIFormSize: X: 182 Y: 147 W: 660 H: 473>>>>>>>>>>> Mouse Details <<<<<<<<<<<Screen: X: 397 Y: 560Cursor ID: 0>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<RGB: Hex: 0x0066CC Dec: 26316>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<Size: X: 144 Y: 264 W: 473 H: 129Control ID: ClassNameNN: ListView20WndClass3Text: (Control is hidden)>>>>>>>>>>> Status Bar Text <<<<<<<<<<<>>>>>>>>>>> Visible Window Text <<<<<<<<<<<Form1>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<Frame6Frame6Prevent spyware/tracking cookies.Prevent the installation of ActiveX-based spyware, dialers, etc.Prevent spyware/tracking cookies.Restrict the actions of spyware/ad/tracking sites in Internet Explorer.==========================Spywareblaster website:http://www.javacoolsoftware.com/spywareblaster.htmlThank you VERY MUCH. LambChop========================================I am absolutely a newbie and my programming skill is not good. I am an old Fortran77 git.I learnt from the little black book that there is such a wonderful program in the world and best of all, it is free. Thanks, Jon. You are the champ.
buzz44 Posted May 1, 2005 Posted May 1, 2005 I downloaded SpywareBlaster just to see the problem. So you just want it to click on the "Check for updates" button? If so you can just use the co-ordinates relactive to the window and not the screen, that way even if you move the SpywareBlaster window postion it will still click on the same spot. And incase you didn't know SpywareBlaster has an "Auto-update" setting that comes with it .Post if you have any problems. qq
herewasplato Posted May 1, 2005 Posted May 1, 2005 "A SpywareBlaster AutoUpdate subscription is $9.95 (US) per computer, per year..." Or Schedule a task to run this at whatever interval you wish: $S_URL = "http://www.spywareblaster.net/spywareblaster31/sbdatabase2.dtb" InetGet ($S_URL, "C:\Program Files\SpywareBlaster\sbdatabase2.dtb",1) $S_URL = "http://www.spywareblaster.net/spywareblaster31/sbversion.txt" InetGet ($S_URL, "C:\Program Files\SpywareBlaster\sbversion.txt",1) I also downloaded/installed this software performed the update... then looked at the only two files in that folder that changed dates I uninstalled the software reinstalled it - without performing the update started the app the screen had a "database loaded date" of 10 March I selected "Enable All Protection" exited the app... ran the script code above... started the app the "database loaded date" was now 16 April. Caveats: 1. I've not used this software enough to know if such simple updates do all that is neeeded to "protect" you as designed. 2. The AutoIt3 code above should have some error handling added to deal with files not downloading properly. 3. The two files downloaded are present/older at install (before updating). The updates seem to overwrite the these two files each time and the application *seems* to make full use of them right away.... BUT that might be the result of my selecting "Enable All Protection". I just do not know at this time and probably will not chase this any more. 4. There is a little file named "license.txt" that contains this line: "...LICENSEE may not update, modify, delete, add to, excerpt or disclose the contents of such DATABASES except through the SOFTWARE PACKAGE..." [since the AutoIt3 code above deletes the DATABASE - or at least part of it - it may violate the license agreement.] Using the "click on it" method would probably be the safer route to take. [size="1"][font="Arial"].[u].[/u][/font][/size]
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