Sign in to follow this  
Followers 0
DemonAngel

Keyboard and the Send function.

5 posts in this topic

I have a keyboard and mouse that is currently connected to 2 pc`s via a switch box. When the box receives 2 CTRL keys from the keyboard it switches to the other pc and visa versa.

I tried to write a script that when the mouse pointer gets to the right side of the monitor that it wound send 2 left control funtions. Since the auto it send is a software send and doesn not come from the keyboard itself, it does not switch over.

Is there any other way I can do this with AutoIT?

:P

Share this post


Link to post
Share on other sites



I'm totally new to AutoIt, and I realize this is the wrong forum for this question, but the answer is NO.

You will not be able to control your KVM switch using any scripting language on a client machine on the switch. General scripting languages don't actually send signals up the keyboard wire (which is what you'd need to control your KVM switch), they inject simulated keyboard actions into the operating system input stream.

It may be technically possible for a manufacturer to make a KVM switch that will respond to special signals from connected machines, but I've never seen one that supports this (and I've used a lot of KVM switches).

Share this post


Link to post
Share on other sites

My apologies, if this post could please be deleted.

Thanx for the reply mcscotty.

Share this post


Link to post
Share on other sites

Posts don't get deleted. Someone else might ask the same question in the future, that's what the search-button is for. Will probably be moved to support.

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