Jump to content
Sign in to follow this  
tec508

Send key presses to computer

Recommended Posts

tec508

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
anthonyjr2

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
tec508

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
JLogan3o13
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!

How to get your question answered on this forum!

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  

×