I do have a problem with keyboard input by host application. My keyboard is perfectly working in guest (WinXP or CentOS) and also in host (Win7). I am using an aplication called Gizmo Script to automate some writing and pasting from host to guest. Gizmo Script is able to enter a virtual Windows screen and to make correct positions by mouse clicking, but is unable to write a letter by keyboard. Here is the example:
Code: Select all
Window f = Window.FindByName("qt_scrollarea_viewportWindow"); // This is the name of virtual Windows XP window located in Guest OS, with Firefox already running, this works fine//
Script.Sleep(2000); //Script is taking some 2 seconds lasting breath//
f.ForceToTop(); //This is forcing the window of virtual Windows on top, works fine//
Script.Sleep(2200);
Mouse.SetPos(589,351); //setting position of mouse on window, (i.e. browser address bar) works fine, 589,351 is mouse position deduced from Gizmo Window Analyzer, which is easy to evoke from Gizmos scriptwriter screen by clicking on 7th large icon "Analyze" from left side //
Script.Sleep(2000);
Mouse.Click(589,351, [Left], [Screen]); //entering it by mouse-click, works fine, cursor is blinking in address bar of Guest's Firefox//
Script.Sleep(4000);
Keyboard.Send("hQtQtQpQsQ://xyz.oracle.cQoQm/", 400); //and this is a problem with keyboard, Virtual box does not allow to write this text, is the problem with decoding Gizmo's keyboard code??, in host Windows this would write letters "hQtQtQpQs://xyz.oracle.cQoQm/", every with 0.4s delay//
Script.Sleep(2000);