Sign in to follow this  
Followers 0
Vĩ Kha Blog

How to install a program without a mouse ?

3 posts in this topic

Like title, I want to write a program to help automation the process installer a program. I think that when I click a button on a program, have a command is sent to System. How to I can read that command ? Or, Can I use CMD to automation the process installer ?

Thks for your help ! 

Share this post


Link to post
Share on other sites



Usually there are unattended installers available. Which program do you want to install?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hi.

With Autoit installed on your Win Box, you will find a tool named "Autoit Window Info (x86)" using the start button.

With the help of this tool you can figure out the

  • Window Title
  • Window Text
  • Control ID of the button, you want to click.

Please read the help file for "ControlClick()", the rest should be quite easy going.

Note:

Especially Java Program's GUI can't be analysed by "Autoit Window Info", then you might want try to click window relative coordinates, to "hit" the buttons you need. Or send "Hotkeys" (ALT+n for next e.g. is quite common).

 

Regards, Rudi.

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
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
Sign in to follow this  
Followers 0