Reputation: 91
I recorded a whole bunch of user interactions using autohotkey.When I play the script back, my mouse coordinates which are supposed to click somewhere, click somewhere else instead. These mouse coordinates are relative to the active window so they shouldnt be clicking in the wrong places. Has anyone faced this problem before?
Upvotes: 1
Views: 4483
Reputation: 2999
Have you tried setting a different Mouse CoordMode? Try each of the following at the top of your script to see which works:
CoordMode, Mouse, Relative ;sets coordinates based upon active window
CoordMode, Mouse, Screen ;sets coordinates based upon screen resolution
Upvotes: 2