Jump to content

Recommended Posts

Posted

I am just learning to script so bear with me;)

I am having an issue with control click I am sure I am doing something stupid

Run("7z442.exe")

; First window of installation
WinActivate ("7-zip 4.42 Setup");Need to set focus on the active window
ControlClick("7-zip 4.42 Setup", "", "[ID:1]"); Left click on the install button
;ControlClick("7-zip 4.42 Setup", "", "[CLASS:Button; TEXT:Install; INSTANCE:2]"); Left click on the install button

Do i have to specify with mouse button or add a parameter somewhere?

Please give me a correct example so i can understand how this command functions :)

Thank you for your time..;)

Posted

Don't the 7-zip installer have a quiet mode? Take a look in the autoit folder and see if you find a fodler called ScriptWriter or a tool called au3record.exe or scriptwriter.exe

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
×
×
  • Create New...