Jump to content

Send key presses to computer

Recommended Posts

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!



Link to post
Share on other sites



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.

Link to post
Share on other sites
  • Moderators
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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...