Mousemove in autohotkey doesn't work

Discussions related to using VirtualBox on Linux hosts.
Post Reply
swarsron
Posts: 4
Joined: 30. Oct 2009, 12:36
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP

Mousemove in autohotkey doesn't work

Post by swarsron »

Hello,

i stumbled across a problem with autohotkey in a virtualized windows (long description
see http://www.autohotkey.com/forum/viewtopic.php?t=54282). When i execute the following
ahk script inside virtualbox the mouse doesn't move

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases. 
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability. 
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory 

CoordMode, Mouse, Screen 
MouseMove, 100, 100
It should move the pointer to 100, 100. It works when i disable mouse integration. So there seems
to be some kind of conflict. My setup:
VirtualBox 3.1.2
Windows XP Guest
Ubuntu karmic Host

Is there a way to fix this wile keeping mouse integration active? I assume that that would require
sending the new mouse position to the host so that the positions stay in sync.

TIA
Post Reply