A WinForms-based background app that registers a global hotkey and centers the mouse cursor on the primary monitor when pressed.
- Windows 10 or later
- .NET 8 Desktop Runtime (x64)
- Extract the ZIP anywhere (e.g.,
C:\Apps\havCurCtr). - Run havCurCtr.exe (no admin required).
- Look for the tray icon. Use Win + Shift + C to center the cursor.
Option A - Startup folder (Per-user)
- Press Win + R -> type:
shell:startup-> OK - Place a shortcut to havCurCtr.exe in that folder
Option B - Registry (Per-user) Create a file named 'havCurCtr-Startup.reg' with the content below, edit the path, then double-click to add:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"havCurCtr"="\"C:\\Apps\\havCurCtr\\havCurCtr.exe\""The hotkey is compiled in. To change it:
- Edit Program.cs -> HOTKEY_MODIFIERS / HOTKEY_VK
- Rebuild (Release):
dotnet publish -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -p:PublishReadyToRun=true
Feel free to suggest features or report issues. However, please note that pull requests will not be accepted.
Copyright © 2025 René Nicolaus
Released under the MIT license.
