tec508 Posted June 4, 2017 Share Posted June 4, 2017 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 comment Share on other sites More sharing options...
anthonyjr2 Posted June 5, 2017 Share Posted June 5, 2017 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= Link to comment Share on other sites More sharing options...
tec508 Posted June 6, 2017 Author Share Posted June 6, 2017 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. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 7, 2017 Moderators Share Posted June 7, 2017 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 comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now