Page 1 of 1

Virtual Keyboard on Host OS

Posted: 18. Aug 2010, 00:42
by vb39
Hi all,

I search some way to programmaticaly send Keyboard/Mouse input from host os to VB.

Any ideas?

Thanks.

Re: Virtual Keyboard on Host OS

Posted: 22. Aug 2010, 17:28
by Sasquatch
Install Guest Additions in the Guest, then check the manual for guestcontrol. Since 3.2.0, you can execute commands from the Host on the Guest and even send key strokes. It's a new feature that I haven't looked into much, so the feature name could be different.

Re: Virtual Keyboard on Host OS

Posted: 27. Aug 2010, 09:50
by HubTou
Hello,
vb39 wrote:I search some way to programmaticaly send Keyboard/Mouse input from host os to VB
What about:

Code: Select all

VBoxManage controlvm <uuid>|<name> keyboardputscancode <hex> [<hex> ...]
I also have additional shell code (for Unix hosts) to help with the translation of characters or strings in scancodes.
See http://www.projet-hev.org/dist/generateur1-1.02.tar.bz2 for an example
and http://www.projet-hev.org/dist/hev1.flv to see it in action.

Best regards,

Hubert