Jump to content

IE-itegrated mouse-clicking..?


 Share

Recommended Posts

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!

Link to comment
Share on other sites

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

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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