[misc] change monitor switching keys

This commit is contained in:
Klesh Wong 2021-07-23 15:17:11 +08:00
parent 90ac7a7805
commit 2566212499

View File

@ -7,7 +7,7 @@ CoordMode, Mouse, Screen ; mouse coordinates relative to the screen
; ========================= ; =========================
; DEBUGGING ; DEBUGGING
; ========================= ; =========================
global DEBUGGING := true global DEBUGGING := False
ToggleDebugging() { ToggleDebugging() {
global DEBUGGING global DEBUGGING
@ -89,13 +89,13 @@ SetDisableLockWorkstationRegKeyValue(1) ; in order to remap win+l
; Win + Shift + b => Whitelist active window so it always be arranged when launched ; Win + Shift + b => Whitelist active window so it always be arranged when launched
#+w::WhitelistArrangementForActiveWindow() #+w::WhitelistArrangementForActiveWindow()
; Win + Shift + i => Remove active window from Blacklist/Whitelist ; Win + Shift + i => Remove active window from Blacklist/Whitelist
#+i::IgnoreArrangementForActiveWindow() #+g::IgnoreArrangementForActiveWindow()
; Win + Shift + d => Toggle debug logging ; Win + Shift + d => Toggle debug logging
#+d::ToggleDebugging() #+d::ToggleDebugging()
#h::MoveCursorToMonitor("left") #u::MoveCursorToMonitor("left")
#l::MoveCursorToMonitor("right") #i::MoveCursorToMonitor("right")
#+h::MoveWindowToMonitor("left") #+u::MoveWindowToMonitor("left")
#+l::MoveWindowToMonitor("right") #+i::MoveWindowToMonitor("right")
; CLIPBOARD MANAGER ; CLIPBOARD MANAGER
@ -126,10 +126,4 @@ SetDisableLockWorkstationRegKeyValue(1) ; in order to remap win+l
; Send {~} ; Send {~}
; SetCapsLockState % !GetKeyState("CapsLock", "T") ; SetCapsLockState % !GetKeyState("CapsLock", "T")
; Return ; Return
; Capslock::return ; Capslock::return
#t::
MouseGetPos, MouseX, MouseY
MsgBox, s: %MouseX%, sh: %MouseY%
return