Save up to 50% off any of our desktop apps in our 2021 Black Friday/Cyber Monday sale,
including DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!

Title

Message

Confirm

Centre Window Over Mouse Cursor

Description
This function will centre the mouse over the mouse cursor, only if the mouse cursor is on a different monitor than the window's current location. Note that the window moves to the target monitor first, before moving again to its final location. I had to use this hack to make it work correctly when moving to monitors of different scaling levels. If all of your monitors are the same scaling level, you can comment out line 22.
Language
C#.net
Minimum Version
9.4.3+
Created By
Keith Lammers (BFS)
Contributors
-
Date Created
Jan 24, 2019
Date Last Modified
Jan 24, 2019

Scripted Function (Macro) Code