Sign in to follow this  
Followers 0
nathan.nilson@matrikon.com

AutoIT in VMWare

6 posts in this topic

I cannot get MouseMove to work on any Windows OS inside of VMWare. ;) Any Ideas?

Share this post


Link to post
Share on other sites



I cannot get MouseMove to work on any Windows OS inside of VMWare. ;) Any Ideas?

I noticed that the other day myself, it does do a MouseClick() in the right location, just doesn't move the mouse with either MouseMove or MouseClick.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

In Virtual PC/Server it works great... haven't tested it yet in VMware, will do this tomorrow-morning...

Neo


[center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center]

Share this post


Link to post
Share on other sites

As follow-up, we uninstalled VMWare Tools, and MouseMove started working. Then, we installed the newest VMWare Tools, snd it still seens to work. Not sure how old our version of VMWare Tools was on that VM. Thanks for the quick replies guys! ;)

Share this post


Link to post
Share on other sites

This is a display issue, only. If you write a script such as:

MouseMove(30, @DesktopHeight - 20)
Run that on a "real" machine and it will hover over the Start button (On XP themed, at least). After a couple seconds you'll see a tooltip pop up. Run it in VMware and you'll still see the tooltip (and the Start button changes when it's hovered over). It's just something in VMware doesn't draw the cursor at the correct location. This very well may be fixed in a newer version of VMware/VMware Tools (It's not in my version but I know there is a version newer than mine that I haven't installed). But just to be totally clear, this "bug" does not affect the script in any way. The script will still work, VMware just doesn't update the cursor position correctly.

Share this post


Link to post
Share on other sites

Not fixed in the newest version, but, here's something weird I noticed...

If you turn on "Display pointer trails" in Mouse Properties (control panel >> mouse properties >> pointer options) of the guest machine, the cursor is properly moved with MouseMove(). ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0