Sign in to follow this  
Followers 0
SSVegito888

How to simulate an "Enter" Key into a program using a GUI

4 posts in this topic

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?

Share this post


Link to post
Share on other sites



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]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

ControlSend("Window Title", "", $controlID,  "{Enter}")

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