SSVegito888 Posted June 23, 2008 Posted June 23, 2008 I am new to AutoIt and was wondering how to simulate an "Enter" key into a 3rd party program that is using a GUI.Basically, I am just trying to click buttons in a GUI.Also, where can I find basic AutoIt syntax on the web?
Skruge Posted June 23, 2008 Posted June 23, 2008 Welcome to the forums!You can simulate "Enter" with Send() or ControlSend().However, if you're clicking buttons, it's much more reliable to use ControlClick().For online documentation, look here: http://www.autoitscript.com/autoit3/docs/It's basically the same as the help file that comes with AutoIt. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]
SSVegito888 Posted June 27, 2008 Author Posted June 27, 2008 Welcome to the forums!You can simulate "Enter" with Send() or ControlSend().However, if you're clicking buttons, it's much more reliable to use ControlClick().For online documentation, look here: http://www.autoitscript.com/autoit3/docs/It's basically the same as the help file that comes with AutoIt.Thanks for the help; I will try this.
AustrianOak Posted June 27, 2008 Posted June 27, 2008 ControlSend("Window Title", "", $controlID, "{Enter}")
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now