Save up to 50% in our Spring Sale!
Save up to 50% off any of our desktop apps in our Spring Sale, including DisplayFusion,
ClipboardFusion, FileSeek, iTunesFusion, LogFusion, TrayStatus, and VoiceBot!

Title

Message

Confirm

Lock mouse cursor to current monitor except while hotkey is held down

< Return to DisplayFusion Scripted Functions (Macros)

Lock mouse cursor to current monitor except while hotkey is held down

Description
This is an implementation of the requested feature on the forums of having the mouse cursor locked to the current monitor, except while a hotkey is held down.

This function combines the locking function with the unlocking function: 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.
Language
C#
Minimum Version 9.3+
Created By Venryx
Contributors -
Date Created
Nov 9, 2018
Date Last Modified
Nov 9, 2018

Scripted Function (Macro) Code

Scripted Function (Macro) Help

Scripted Function (Macro) Help

Want to create your own Scripted Function (Macro) or modify an existing one?
Visit our Scripted Function (Macro) Help page for more information on the available functions.