"Normal" mouse wrapping for adjacent monitors set to a stacked arrangement in PC settings Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
AhkeyDokey
Posts: 2
Joined: 24 Nov 2017, 11:16

"Normal" mouse wrapping for adjacent monitors set to a stacked arrangement in PC settings

24 Nov 2017, 14:18

I'm looking for help with a mouse wrap script for two monitors that are set to display in a vertical stacked arrangement (PC settings) but located physically adjacent to one another. Want mouse to wrap from monitor [A] to [B] without having to go through the bottom of monitor [A]. To clarify:

Untitled.png
Untitled.png (30.48 KiB) Viewed 59 times


I've looked into several utilities (X-button Mouse Control, Dual Monitor Tools, etc) but none allow customization of the mouse wrapping from side of one screen to top of another. There's also DisplayFusion but the mouse feature$ co$t $.
User avatar
Nextron
Posts: 1064
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win7 x64 AHK: Unicode x32

Re: "Normal" mouse wrapping for adjacent monitors set to a stacked arrangement in PC settings  Topic is solved

24 Nov 2017, 18:27

I once started with a script which moved the cursor based on its relative height/width when transitioning between monitors instead of absolute coordinates, in order to prevent the cursor from getting stuck behind corners of different sized screens. I made some changes to it so it should suit your need:

Code: [Select all] [Expand] [Download] (ScreenEdgeWarp.ahk)GeSHi © Codebox Plus


The last line uses Escape to exit the script. Test the script, and if it works okay, you can remove that line.


Nice visual explanation btw. :thumbup:
The more I know:
The more I know,
I know nothing.
AhkeyDokey
Posts: 2
Joined: 24 Nov 2017, 11:16

Re: "Normal" mouse wrapping for adjacent monitors set to a stacked arrangement in PC settings

25 Nov 2017, 22:21

GENIUS! Thank you so much. It works perfectly even in the context of an odd naming convention for primary (monitor #2) and secondary monitors (#1). There is no other utility available on the internet that does this. Excellent.

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 48 guests