Automation problems for steering a VM

Discussions about using Windows guests in VirtualBox.
Post Reply
PartyMaster
Posts: 2
Joined: 23. Aug 2023, 15:11

Automation problems for steering a VM

Post by PartyMaster »

Hi,
I would like to automate some actions in a VM and I need to enter a number of simulated keystrokes for that purpose (like logging on, starting a program, ...).
Has anyone achieved this in vbs or wirh VBoxManage? If yes I would love to see a coding example!
Many thanks
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Automation problems for steering a VM

Post by mpack »

Search the site (or better yet the manual) for "keyboardputscancode".
PartyMaster
Posts: 2
Joined: 23. Aug 2023, 15:11

Re: Automation problems for steering a VM

Post by PartyMaster »

Thank you for the tip, mpack, that worked beautifully!
:D
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Automation problems for steering a VM

Post by mpack »

Thanks for reporting back.
Post Reply