Jump to content
Sign in to follow this  
themonk214

Alternative to Send()

Recommended Posts

themonk214

I want to send keys directly (dinput) with autoit and not by using

Send("{enter}")

I want to know if theres an alternative command to send keys.

And if there is no other ways or can i use SendMessage or Postmessage of Ahk

And tell me the parameters in english and what they mean if there is an alternate command in AutoIt to send keys to a program

Share this post


Link to post
Share on other sites
Yashied

I want to send keys directly (dinput) with autoit and not by using

Send("{enter}")

I want to know if theres an alternative command to send keys.

And if there is no other ways or can i use SendMessage or Postmessage of Ahk

And tell me the parameters in english and what they mean if there is an alternate command in AutoIt to send keys to a program

ControlSend()?

Share this post


Link to post
Share on other sites
themonk214

Thanks!

I have another question though

ControlSend("Untitled", "", "Edit1", "test")

Works perfectly for notepad but How do i get to know the controlID that my program uses (in this case its not notepad)

Share this post


Link to post
Share on other sites
Yashied

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  

×