Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Typo
30 discussion posts
I'm sure I cannot be the only one that occasionally moves the mouse too far and it vanishes to another monitor (which might not even be on) when normally without extra monitors it would stop at the border.

I'm not sure if this idea is worthy or how hard it would be on you but it occurred to me that it might be nice to be able to have the mouse set to not leave the current monitor unless you hold down a key while moving it or hit the key to toggle the lock off/on permanently.

To be honest I'm not even sure how much I would like it because I can't try it but I would sure love to see the option.

Thanks again!
Mar 29, 2013  • #1
User Image
Andy115
2 discussion posts
It's already available: Functions/Mous Cursor/ "lock/unlock mouse cursor to current monitor"
Set a shortkey.
Mar 30, 2013  • #2
User Image
Typo
30 discussion posts
You rock! Thanks!

Would be cool if there was a temporary toggle too so that I could hold down a key and then move the mouse to a new monitor and then let it go and its now stuck in that window .... right now you have to turn it off and then back on.

Even if that's not possible, this is certainly better than nothing.
Mar 30, 2013 (modified Mar 30, 2013)  • #3
User Image
Andy115
2 discussion posts
Use a simple Shortkey (win-key and one nearby) , it's almost as comfortable. However shortkeys with mouse-buttons would be a very useful feature.
I only need this for games in (1-Screen) window-mode or while working an 1 display while on the 2. is a movie or something. So it's just fine for me.
Mar 30, 2013  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@Andy: Thanks for posting that solution!

@Typo: We've had that specific functionality requested before as well, so I've added your vote to the feature request.

Thanks!
Apr 3, 2013  • #5
User Image
Typo
30 discussion posts
Thanks :)
Apr 4, 2013  • #6
User Image
DFrostedWang
12 discussion posts
I have two monitors, one above the other, and have a hard time keeping my cursor where I want it on the monitor below. For example, selecting tabs in chrome I tend to accidentally drift onto the monitor above.

Can we get (or do we already have) a feature that would prevent moving onto that monitor unless I hold a modifier key? I know I can lock the cursor to one monitor, but can I lock it to every monitor but that one?

This post was merged on May 2, 2017.
May 2, 2017  • #7
Alan Wade's profile on WallpaperFusion.com
This free app does that
http://dualmonitortool.sourceforge.net/
Once installed, click on the General tab under Cursor and setup the hotkeys that you want to use.

This post was merged on May 2, 2017.
May 2, 2017  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Merged and added your vote to the open feature request :)
May 2, 2017  • #9
User Image
DFrostedWang
12 discussion posts
Quote:
This free app does that
http://dualmonitortool.sourceforge.net/
Once installed, click on the General tab under Cursor and setup the hotkeys that you want to use.

This post was merged on May 2, 2017.


"
The cursor can be in one of three modes:

Free - the cursor is free to move unhindered between screens
Sticky - there is resistance to moving the cursor between screens
Locked - the cursor is locked onto a single screen
"

What I'm suggesting doesn't fall within any of those options, I'd like the ability to set certain monitors or groups of monitors apart from the rest and use a hotkey to enable movement to them. For example, all monitors on the top row vs the bottom row, hold shift to enable moving to the top row of monitors.
May 2, 2017  • #10
User Image
Venryx
2 discussion posts
Thought I'd mention that I had the same request, and managed to implement it using a custom script function.

Function description: Pressing and releasing this function's hotkey locks the mouse to the current monitor. It's then kept locked until you *press and hold down* the hotkey. While it's held down you can freely move between monitors. Once released, it gets locked again to the new current monitor.

I've submitted it for inclusion in the online list, but in the meantime, here's the script code:

Code

using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Threading;

public static class DisplayFusionFunction
{
    // update this value to match the hotkey you've assigned to this function -- ignoring ctrl, alt, etc. (I use Alt+A)
    static Keys hotkeyKey = Keys.A;

    [DllImport("user32")]
    static extern bool GetAsyncKeyState(int vKey);
    
    public static void Run(IntPtr windowHandle)
    {
        // if cursor is already unlocked by hotkey, don't start hotkey function again
        if (BFS.ScriptSettings.ReadValueBool("Cursor unlocked")) return;
    
        // unlock the mouse cursor since hotkey has been pressed down
        Cursor.Clip = Rectangle.Empty;
        BFS.ScriptSettings.WriteValueBool("Cursor unlocked", true);
        
        // wait until the hotkey is released
        while (GetAsyncKeyState((int)hotkeyKey)) {
            Thread.Sleep(10);
        }
        
        // then lock the mouse cursor again
        Cursor.Clip = BFS.Monitor.GetMonitorBoundsByMouseCursor();
        BFS.ScriptSettings.WriteValueBool("Cursor unlocked", false);
    }
}
Nov 5, 2018  • #11
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)