Skip to content

Instantly share code, notes, and snippets.

Last active Apr 5, 2020
What would you like to do?
Authotkey script for remapping windows (super) key to Shift+Alt+Space and windows key + h to minimize the current window, windows + move.
; Remap windows key + h to minimize the current window
WinMinimize A
; Disable the keyboard layout switcher
Ctrl & Shift::
; Remap windows key to the launcher
<#LButton::return ; Do nothing if a left mouse button is clicked
LWin up::
If (A_PriorKey = "LWin") ; LWin was pressed alone
Send, !{space}
; In this case its necessary to define a custom combination by using "&" or "<#"
; to avoid that LWin loses its original function as a modifier key:
<#d:: Send #d ; <# means LWin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment