Jump to content

How to install a program without a mouse ?


Recommended Posts

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 ! 

Link to comment
Share on other sites

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!

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...