Send Commands to Windows guest

Discussions about using Windows guests in VirtualBox.
Post Reply
bnemetchek
Posts: 3
Joined: 11. Sep 2009, 17:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win7

Send Commands to Windows guest

Post by bnemetchek »

How would one control the windows guest programmatically. For example, is there any API to call API functions on a guest from the host? Or, can something like autoit control the guest? AutoIt doesn't seem to work if run on the host to control the VM guest. This is likely because the VM guest is reported as a single QT window, rather than a collection of windows inside it. Is there any way to access the VM?

thanks for any help or advice...
bnemetchek
Posts: 3
Joined: 11. Sep 2009, 17:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win7

Re: Send Commands to Windows guest

Post by bnemetchek »

VBOX4ME,

I appreciate the google query link. However, I've previously looked at the API and API documentation. I may be dense, but I cannot comprehend how to do what I'm asking. It looks as though the API is based around configuring rather than controlling the guest. For example, if I wanted to control a guest but running its notepad.exe and entering some text and then saving it, can this be done via the SDK? If so, are there any examples of anything even remotely close to this? If not, and the SDK IS capable of such a thing, how would it be done?

thanks again...
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Send Commands to Windows guest

Post by vbox4me2 »

No idea, maybe not possible, it might be quicker to look into a communication client/service kind of thing, you might even abuse rsync for sending commands back and forth. There's lots of such stuff out there with sourcecode.
Post Reply