Move the mouse cursor to the center of the active window on macOS.
- Download the latest .zip file from Releases.
- Unzip the file (this may happen automatically) and open the folder starting with
MoveCursorToCenterOfActiveWindow
. - Place the
.app
file somewhere on the system. (Suppose you have placed it in/Applications
) - Execute the following shell command:
open -g '/Applications/MoveCursorToCenterOfActiveWindow.app'
- For practical purposes, you'll want to combine the app with your favorite app launcher or key-remapping utility.
- Sample rules for Karabiner-Elements are included.
- Executing the app with the
--debug
argument (like below) enables the debug mode, which generates logs that can be visible in the macOS Console.app.open -g '/Applications/MoveCursorToCenterOfActiveWindow.app' --args --debug
MIT