Hello,
First question, even though a regular reader.
I'm trying to automate a task on my Guest OS (Ubuntu) using Automator, but so far I wasn't able to make VB accept the keys sent. Is there another way for me to send keystrokes from the Host OS to the Guest OS?
Thank you!
Sending keys to Host OS (Ubuntu)
-
something_new
- Posts: 1
- Joined: 19. Jan 2011, 22:23
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Sending keys to Host OS (Ubuntu)
Check out the VBoxManage help output. You can send keycodes to guests. If you add multiple keycodes in a single command, they will be treated as a simultaneous press, like ctrl+alt+del. Sending the codes through different commands will send them one after another. VBoxManage controlvm keyboardputscancode <hex> ...
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
ckerr
- Posts: 9
- Joined: 15. May 2009, 00:18
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu, Other
Re: Sending keys to Host OS (Ubuntu)
Having wanted to do something similar, I have created a simple little tool that can help you generate the appropriate scancodes.
http://humbledown.org/keyboard-scancodes.xhtml
Hope you find it useful.
http://humbledown.org/keyboard-scancodes.xhtml
Hope you find it useful.