Simple script to move my mouse to the center of my primary screen (from among four screens):
Code: Select all
#SingleInstance Force
!^+c:: ;Alt + Ctrl + Shift c
{
CoordMode "Mouse", "Screen" ; this is a must as the mouse coordinate are now relative to the whole screen
MouseMove A_ScreenWidth // 2, A_ScreenHeight // 2, 0
return
}
Works great. But when I am reading a Google Docs document, Alt + Ctrl + Shift c changes it to view only (both FF and Chrome). And then moves the mouse.
I thought the hotkey would be intercepted and not sent on to the active window. When I redefine F1, it gets ignored by the active window.