Page 1 of 1

Mousemove in autohotkey doesn't work

Posted: 9. Feb 2010, 19:41
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