ghand005 Posted October 22, 2016 Share Posted October 22, 2016 MouseMove and MouseClick do not do anything. I've even tried on a different computer. I am not an autoclick noob at all. I just can't figure out why the two most simple functions do not work. Literally my mouse just stays in the same place. Link to comment Share on other sites More sharing options...
water Posted October 22, 2016 Share Posted October 22, 2016 Welcome to AutoIt and the forum! Please post at least the script you have coded. Else it is hard if not impossible to help My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
ghand005 Posted October 22, 2016 Author Share Posted October 22, 2016 Just MouseMove MouseMove(0, 0, 0) Link to comment Share on other sites More sharing options...
water Posted October 22, 2016 Share Posted October 22, 2016 Default is absolute positioning. So I think x and y need to be > 0 My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
ghand005 Posted October 22, 2016 Author Share Posted October 22, 2016 WellI have tried everything, different numbers. I guess I am going to reinstall autoit to see if that changes anything. This is so strange. Link to comment Share on other sites More sharing options...
water Posted October 22, 2016 Share Posted October 22, 2016 What is the return value of MouseMove? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
ghand005 Posted October 22, 2016 Author Share Posted October 22, 2016 mousemove doesnt provide a return value Link to comment Share on other sites More sharing options...
ghand005 Posted October 22, 2016 Author Share Posted October 22, 2016 So i've done a little script here #include <MsgBoxConstants.au3> MouseMove(0,0) Local $aPos = MouseGetPos() MsgBox($MB_SYSTEMMODAL, "Mouse x, y:", $aPos[0] & ", " & $aPos[1]) This returns the value 0,0 in the messagebox but my mouse hasn't actually moved.... Link to comment Share on other sites More sharing options...
AutoBert Posted October 22, 2016 Share Posted October 22, 2016 (edited) 3 hours ago, ghand005 said: MouseMove and MouseClick do not do anything May be your App uses a antichead protection? Examples in helpfile are working for me. Edited October 22, 2016 by AutoBert Link to comment Share on other sites More sharing options...
ghand005 Posted October 22, 2016 Author Share Posted October 22, 2016 I am on a virtualmachine but I dont think that should matter..?? Link to comment Share on other sites More sharing options...
Developers Jos Posted October 22, 2016 Developers Share Posted October 22, 2016 Is the script ran in the VM or its Host? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ghand005 Posted October 22, 2016 Author Share Posted October 22, 2016 Inside the VM, but all my other scripts work perfectly fine. and everything runs good except the mousemove. Link to comment Share on other sites More sharing options...
Bert Posted October 24, 2016 Share Posted October 24, 2016 Here is a better question - why do you NEED to use Mousemove? Can you controlclick? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
singbass Posted October 25, 2016 Share Posted October 25, 2016 How do you access the VM? I use DameWare and there are cursor settings to actually show the cursor on the remote. Link to comment Share on other sites More sharing options...
Bert Posted October 26, 2016 Share Posted October 26, 2016 seeing how it is Wednesday and he last posted on Saturday - I suspect the poster has moved on... The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now