Jump to content

mouse click issues on VMware


Recommended Posts

Hey guys,

i have been using autoit for some time now and i really enjoy this great tool.

My issue is when i run my script on a Virtual Descktop my mouseClick Coords seem to be WAY off. i have set all the options to click inside the active window but for some odd reason it clicks 100's of pixels away. even using the WinInfo my Coord seem to be good. (i also seem to have issue with getpizelcolor on VM)

a simple thing like this seems to click different areas on my screen.

Opt("PixelCoordMode", 0)
Opt("MouseCoordMode", 0)

WinActivate($temp)
MouseClick("left",$mX, $mY,1,5)

any ideas? Am i missing a setting or something? the only diffrence is that i wrote the code in Vista and im testing in XP but as i said even WinInfo seems to give me the right coords

Mark

Link to comment
Share on other sites

  • Moderators

Option zero is window coord mode, you probably want client coord mode (Option 2).

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...