Sign in to follow this  
Followers 0
Devy

AU3Record records mouse coords on the wrong monitor

5 posts in this topic

So I'm trying to use AU3Record to record some simple mouse clicks, but when I hit record and do the mouse clicks, the coords it gives back are for my other monitor...  As in I do the mouse clicks on monitor one, but it gives me coords for monitor two.  Is there any way to fix this? 

Share this post


Link to post
Share on other sites



What coords does it give you?  What is the resolution of your monitors?

Share this post


Link to post
Share on other sites

Is your primary monitor the one you're recording on? (has the taskbar) if not maybe that is why.

You can always adjust those coordinates as needed just add/subtract the resolution of the monitor to move it over.

Share this post


Link to post
Share on other sites

Is your primary monitor the one you're recording on? (has the taskbar) if not maybe that is why.

You can always adjust those coordinates as needed just add/subtract the resolution of the monitor to move it over.

I basically had to do that.  I was trying to record the points on the secondary monitor.  The two monitors are different sizes so it wasn't a simple change of coordinates, I ended up just doing it by hand :(

Share this post


Link to post
Share on other sites

If your solution is working that is great, but usually mouse moves/clicks are the last resort.

Depending on what you are doing and how often you want to do it, it may be worth looking into some of the more advanced solutions.

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

  • Similar Content

    • sengsational
      By sengsational
      I've used autoit before, but always coded from scratch.  I decided to try to run au3record, and I bet this is a 'dumb question', but why does write code that doesn't pass syntax check?
      +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\Owner\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\Owner\AppData\Local\AutoIt v3\SciTE #region --- Au3Recorder generated code Start (v3.3.9.5 KeyboardLayout=00000409) --- Run('C:\Program Files (x86)\spacemonger\SpaceMonger.exe') _WinWaitActivate("SpaceMonger","") MouseClick("left",542,44,1) _WinWaitActivate("About SpaceMonger","SpaceMonger Version ") MouseClick("left",183,240,1) _WinWaitActivate("SpaceMonger","") MouseClick("left",1405,13,1) #endregion --- Au3Recorder generated code End --- That is exactly what the recorder created.  All the stuff on the first line causes the syntax checker to go into a convulsion, so I just deleted that.
      But "_WinWaitActivate"?  With an underscore at the front of it?
      There must be something that's gotten completely by me.  Anyone willing to put me on the right track?