RichardL Posted February 4, 2017 Share Posted February 4, 2017 A few days ago I'd written an AutoIt program that drove a Target program to open/modify/save pictures. (Don't want name it, looks like a normal windows application, has a ribbon the little shortcuts appear when you press alt.) Everything working well on a VM (WServer 2012 I think.) Then I moved it to a real computer, Lenovo Think Center Windows 8.1, and the MouseMove stopped working. The MouseMove worked as normal if anything else had the focus (Explorer, Paint, TaskMgr). If Target had the focus the mouse did not move. I tried all 3 values for MouseCoordMode. Tried 32 bit and 64 bit compile. There's a topic somewhere about the mouse not moving, but MouseGetPos says it's moved. I tried that and it showed the mouse had not moved. For a few moments I thought of alternately activating another window to move the mouse, then activate Target, but that was too horrible. We went around the problem by moving to a different computer, Windows Server 2012 again, and everything was fine. 'Target' is the same version in all cases. I've worked with it a few times before, never had any problems. I don't need this solved but I'd be interested to know why. Link to comment Share on other sites More sharing options...
jvanegmond Posted March 2, 2017 Share Posted March 2, 2017 Start script with administrator rights? Abdelrahman 1 github.com/jvanegmond Link to comment Share on other sites More sharing options...
DarkDragon Posted April 15, 2017 Share Posted April 15, 2017 RichardL can you please post the script. Have you checked that the screens have the same resolution? Link to comment Share on other sites More sharing options...
RichardL Posted October 10, 2018 Author Share Posted October 10, 2018 Sorry, gave up watching this, but now it's happened again, with the same application. @jvanegmond - thanks, run as administrator fixed it. If I compiled to .exe and run that as administrator that worked. For running from SciTE I looked at what it was running in the console window, Aut2exe_x64.exe, set that to 'run as administrator' - completely stopped it running from SciTE, It would run from a shortcut with the file.au3 as a parameter. So exit SciTE, set SciTE.exe as 'run as admin'. Restart SciTE and it works Thanks again. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 10, 2018 Moderators Share Posted October 10, 2018 Moved to the appropriate forum. Moderation Team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
careca Posted October 10, 2018 Share Posted October 10, 2018 I would try a window refresh, maybe somehow the mouse graphics don't update when hover that specific window, and since you said the mousepos reads it moving.. i figure it may be related with this. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
RichardL Posted October 10, 2018 Author Share Posted October 10, 2018 @careca - other way round. For the other topic MousePos says it's moving. For me no MousePos change. And what I should have said as well, no Send, no MouseClick. Link to comment Share on other sites More sharing options...
careca Posted October 10, 2018 Share Posted October 10, 2018 I've never ever seen an application that blocks mouse movement, except specific autoit scripts. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
pixelsearch Posted October 10, 2018 Share Posted October 10, 2018 Thanks guys for the funniest topic title in this Forum ! MouseMove didn't Move - (Moved) 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