Jump to content

Recommended Posts

Posted (edited)

Is it possible to have a computer on your internal network send keystrokes?

As an example, use autoit on my laptop and make my desktop press certain keys?

If so, how would I go about doing this?

[Edit]

To clarify, I want one computer to mimic the other... If I press a button on my laptop, it would send the same key to my desktop.

Edited by fry128
Posted (edited)

Is it possible to have a computer on your internal network send keystrokes?

As an example, use autoit on my laptop and make my desktop press certain keys?

If so, how would I go about doing this?

The method would be something like this. Have a script (A) on your laptop and a script ( B ) on you desktop (D).

B waits for something from A to tell it what to do and then it uses Send to make the key presses. So it only remains how A and B will communicate. There are examples of TCP server/client scripts around, or UDP would be OK on a local network.

Edited by martin
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Posted

That sounds exactly what I'm looking for.

Could you maybe point me to such a script or tell me where to find information on coding one? :)

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
×
×
  • Create New...