Jump to content

move mouse cursor to different screens


Recommended Posts

Hi, can AutoIt command the mouse cursor to jump to different screens? As a tri-screen user, (video stereo 2.1), it's cumbersome to drag from the furthest right monitor to the furthest left monitor. I can't even imagine how some people can stand using 4 monitors!

Link to comment
Share on other sites

with more monitors you move the mouse to the left or rigth side of screen and he wipe to the next?

if you do this he shall be wape to the next window , maby you must look with au3info on a other screen what he says ..

sorry i cant test it , i got only 1 ...

-jaenster

Link to comment
Share on other sites

jaenster has got a point if you move the mouse to 1024:x (screen res 1024*768) you automatically switch to the next screen, but how can you detect which monitor is in use?

maybe (haven't tried it yet but i will later on) you can try using

mousemove (1500, 300); if the screen goes through
mousemove (300, 300)

i gotta try would be nice to know

Link to comment
Share on other sites

you can do it via hotkeys

hotkeyset ("a", "leftscreen"); i say its 1st screen
hotkeyset ("b", "middlescreen")
hotkeyset ("c", "rightscreen")

func leftscreen()
mousemove (300, 300)
endfunc

func middlescreen()
mousemove (1300, 300)
endfunc

func rightscreen()
mousemove (2400, 300)
endfunc

this should work, you just have to change the hotkeys as needed

Link to comment
Share on other sites

Thanks Nuffilein805! Seems like you figured it out. Since you don't use negative values, I'm assuming that the 1st left-most monitor starts with X-axis of 0 and then the 3rd right-most monitor ends with X-axis of 3072 when all 3 monitors are using a resolution of 1024x768?

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...