Sign in to follow this  
Followers 0
tec508

Send key presses to computer

4 posts in this topic

#1 ·  Posted

Hi guys,   

Total newbie to AutoIt.  I've run a few scripts that I found on the internet in the past, I haven't done any of my own scripting.      I'm trying to send some keyboard presses to a computer via TCP from a automation system (Crestron). 

I'm able to emulate and send any TCP command from the Crestron side, so what I need help with is how to script the AutoIt side of things, and find out what my commands will need to be so I can add them in my Crestron program.

Any help is appreciated!

 

 

Share this post


Link to post
Share on other sites



#2 ·  Posted

Do you have any code yet that we can look at? Do you only need to send key presses? That can be done with Send() or ControlSend().


UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI=

Share this post


Link to post
Share on other sites

#3 ·  Posted

anthonyjr2,

 

I haven't done any code yet.   I did try to run the example TCP scripts on the autoit wiki and play with the parameters but I kept having issues with TCPStartup.

Essentially yes, I just need to be able to send numbers (0-9), a couple letters, and the escape key to the computer as if they were typed on a keyboard.

Share this post


Link to post
Share on other sites

#4 ·  Posted

4 hours ago, tec508 said:

but I kept having issues with TCPStartup.

@tec508 just telling us "it didn't work" doesn't help us help you. If you're working off an example script with altered parameters, how about posting that, with a detailed description of what errors/behavior you're seeing.


√-1 2^3 ∑ π, and it was delicious!

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