Skip to content

Instantly share code, notes, and snippets.

@PeterMinin
Last active May 29, 2022 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PeterMinin/a9d31557946f5f8dec65e073ad57a06d to your computer and use it in GitHub Desktop.
Save PeterMinin/a9d31557946f5f8dec65e073ad57a06d to your computer and use it in GitHub Desktop.
; Ctrl+Win+Down - minimize active window
^#Down:: WinMinimize, A
; Ctrl+Win+Space - toggle Always On Top for the active window
^#Space:: Winset, Alwaysontop, , A
; Left "Shift" extender
SC056:: LShift
; Alt+Ctrl+M - Context Menu
^!m:: Send {AppsKey}
; Ctrl+Win+P - sleep
^#p:: DllCall("PowrProf\SetSuspendState", "int", 0, "int", 1, "int", 0)
; Extra mouse buttons as Ctrl and Shift
XButton1::Ctrl
XButton2::Shift
; Alt+Ctrl+Shift+V - type clipboard contents
!^+v:: SendRaw, %Clipboard%
; Simulating the mouse wheel with LMB + RMB
~LButton & RButton:: MouseClick, Middle
~RButton & LButton:: MouseClick, Middle
; Alt+F11 - Rainmeter hide/show
!F11:: Run "C:\Program Files\Rainmeter\Rainmeter.exe" !RainmeterToggleFade *
; Alt+Ctrl+Right/Left as Media Next/Prev
; Alt+Ctrl+Space as Media Play-Pause
!^Right:: Send {Media_Next}
!^Left:: Send {Media_Prev}
!^Space:: Send {Media_Play_Pause}
; This helped make the media buttons work on the Acer
Media_Next Up:: Send {Media_Next}
Media_Prev Up:: Send {Media_Prev}
Media_Play_Pause Up:: Send {Media_Play_Pause}
Media_Stop Up:: Send {Media_Stop}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment