Created
March 28, 2024 07:12
-
-
Save navhaxs/aaa47d908d64975a487ba4be93b4ccd3 to your computer and use it in GitHub Desktop.
move_cursor_to_primary_monitor_center.ahk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires AutoHotkey 2.0+ | |
#SingleInstance Force | |
CoordMode("Mouse") | |
;Alt+M | |
!M::MouseMove(A_ScreenWidth/2,A_ScreenHeight/2,0) ;Primary | |
;F5::Try MonitorGet(2,&L,&T,&R,&B),MouseMove((L+R)/2,(T+B)/2,0) ;Secondary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment