Jump to content

plz IDM v4.04 AutoIt Script?


Wesmosis

Recommended Posts


  • 2 weeks later...

Here you go:

AutoItSetOption("TrayIconHide", 1)
AutoItSetOption("MouseCoordMode", 0)
BlockInput(1)

Run("idman404.exe")

WinWait("Internet Download Manager Installation Wizard", "Welcome to Internet Download Manager Setup program")
MouseClick("left", 335, 340)

Sleep("500")

WinWait("Please read IDM license", "LICENSE For Internet Download Manager")
MouseClick("left", 335, 340)

Sleep("500")

WinWait("Choose Destination Location", "Setup will install Internet Download Manager")
MouseClick("left", 335, 340)

Sleep("500")

WinWait("Select Program Manager Group", "Enter the name of the Program Manager group")
MouseClick("left", 335, 340)

Sleep("500")

WinWait("Start Installation of Internet Download Manager", "You are now ready to install Internet Download Manager")
MouseClick("left", 335, 340)

Sleep("500")

WinWait("Installation Complete", "Internet Download Manager has been successfully installed")
MouseClick("left", 335, 340)

WinWait("First run of Internet Download Manager", "This version of Internet Download Manager has Advanced Browser")
ControlClick("First run of Internet Download Manager", "This version of Internet Download Manager has Advanced Browser", "Button2")

WinWait("Internet Download Manager", "Categories")
WinClose("Internet Download Manager", "Categories")

ProcessClose("IDman.exe")

;Shutdown(6)

Exit

You can remove the ";" comment from ";Shutdown(6)" to force a reboot if you feel the need. Many hidden buttons in this one, so I settled on MouseCoordMode. This has been tested on fresh installs running screen resolutions of 1024x768 and 800x600. Compile the script using AutoItv3 and place it in the same directory as idman404.exe, it should install and then kill the app. :yes:

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
  • Recently Browsing   0 members

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