Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Press Ctrl+Alt+A to toggle AltDrag. Compile with AutoHotKey:
; Press Ctrl+Alt+A to toggle AltDrag
; 0x111 = WM_COMMAND
; 0x8000+1 = SWM_TOGGLE
DetectHiddenWindows, on
SendMessage, 0x111, 0x8000+1, 0,, ahk_class AltDrag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment