RogerRabbitsClone Posted April 17, 2010 Posted April 17, 2010 (edited) i am trying to write an a script to download and install a program called "vdownloader". in the middle of the install it asks me if i would like to install the bing toolbar (hell no) and i cannot toggle the options to select yes or no. i have tried send tab, up, down and all kinds of various alt combinations. i want to avoid using the mouse click option because i am most likely going to be using this on different computers with different screen resolutions. if im completely missing something here, please let me know. also, ive been writing this script today, and when i started, the installer i was downloading was asking me to install the "ask toolbar" then halfway through this, it changed to bing. ive been getting it from the same place so i dunno what happened. [EDIT] but thats why i have "WinWaitActive ("[CLASS:TWizardForm]", "VDownloader-Ask Toolbar")" in there. InetGet ( "http://software-files-l.cnet.com/s/software/11/37/03/12/VDownloaderSetup.exe?e=1271555864&h=ba13f8daf7715a3452fe1834d73e419c&lop=link&ptype=1901&ontid=2071&siteId=4&edId=3&spi=79abe5e6be81b5296dcdc3e993070764&pid=11370312&psid=10888393&fileName=VDownloaderSetup.exe", "C:\VDownloaderSetup.exe") run ("C:\VDownloaderSetup.exe") WinWaitActive ("[CLASS:TWizardForm]", "Welcome to the VDownloader Setup Wizard") send ("!N") WinWaitActive ("[CLASS:TWizardForm]", "License Agreement") send ("!A") send ("!N") WinWaitActive ("[CLASS:TWizardForm]", "Select Destination Location") send ("!N") WinWaitActive ("[CLASS:TWizardForm]", "Select Additional Tasks") send ("{space}") send ("{tab}") send ("{space}") send ("{tab}") send ("{space}") send ("!N") WinWaitActive ("[CLASS:TWizardForm]", "VDownloader-Ask Toolbar") send ("{down}") send ("{tab}") send ("{space}") send ("{tab}") send ("{space}") send ("!N") WinWaitActive ("[CLASS:TWizardForm]", "Ready to Install") send ("!I") WinWaitActive ("[CLASS:TWizardForm]", "Completing the VDownloader Setup Wizard") send ("!F")this is the link to download the vdownloader installer if somebody would like to try it. vdownloaderon a side note, i wrote a script like this to install malewarebytes, and found that if the installation is automated and the malewarebytes installer is renamed, it can get past the "anti-virus 2009-2010" virus. ive attached the .exe+source i made if anybody wants it. auto mbam.zip Edited April 17, 2010 by RogerRabbitsClone <--a good way to start you day
JohnOne Posted April 17, 2010 Posted April 17, 2010 Try ControlCommand() with "Check" If not then try ControlClick() AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
RogerRabbitsClone Posted April 18, 2010 Author Posted April 18, 2010 that didnt work. i give up. thanks anyway john. f*** you vdownloader. im about to get off work, and i know i wont pick this project up again until next weekend when im forced to work a saturday. (which is by the way how i discovered this awesome program) <--a good way to start you day
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