SSVegito888 Posted June 23, 2008 Share 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? Link to comment Share on other sites More sharing options...
Skruge Posted June 23, 2008 Share 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] Link to comment Share on other sites More sharing options...
SSVegito888 Posted June 27, 2008 Author Share 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. Link to comment Share on other sites More sharing options...
AustrianOak Posted June 27, 2008 Share Posted June 27, 2008 ControlSend("Window Title", "", $controlID, "{Enter}") Link to comment Share on other sites More sharing options...
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