Jump to content

Recommended Posts

Posted

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 :mellow:

Challenge accepted!

Posted

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 :mellow:

Challenge accepted!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...