Akarillon Posted September 6, 2011 Posted September 6, 2011 I am trying to install the latest ccleaner version, but I want to click away the option to install Google Chrome. The only problem is that the window inside the installer is an Internet Explorer_Server page. This doesn't allow me to use any function I know of to click the checkbox. Heres my script: Case $Install_button If $var[0] = 1 Then ShellExecute("ccsetup310.exe", "", "C:\Installationwizard\") ControlClick("Open File - Security Warning", "", "text", "left", 1) WinWaitActive("Installer Language", "", 5000) Send("{ENTER}") Sleep(500) Send("{ENTER}") Sleep(500) Send("{ENTER}") Sleep(500) Send("{ENTER}") Sleep(500) ControlClick("CCleaner v3.10 Setup", "Include Google Chrome", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "left", 1, 32, 161) EndIf Me and a friend of mine have struggled with this problem for a while. Tried to use ControlClick and several IE Management-functions. All help is appreciated Challenge accepted!
rcmaehl Posted September 6, 2011 Posted September 6, 2011 Try using the Tab key to tab to the checkbox then send a spacebar press? My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF
Akarillon Posted September 6, 2011 Author Posted September 6, 2011 Tab dont work because the windows are seperate.. Also tried to click the window inside to get it in focus, but still only tabs the 3 cancle/next/back buttons Challenge accepted!
Akarillon Posted September 7, 2011 Author Posted September 7, 2011 Close this thread-- Found the slim installer for ccleaner. Challenge accepted!
JohnOne Posted September 7, 2011 Posted September 7, 2011 When you can, you should edit your first post in this thread, to include "Solved" in the title. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Akarillon Posted September 7, 2011 Author Posted September 7, 2011 I tried, but there is no edit button :S (report)(MultiQuote)(Quote) Challenge accepted!
Bert Posted September 7, 2011 Posted September 7, 2011 You can also use command line switched to do the install. No muss, no fuss. The Vollatran project My blog: http://www.vollysinterestingshit.com/
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