Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
my autohotkey script 2022-02-27
; on Windows 10, place to C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
#Persistent
#SingleInstance Force
#InstallKeybdHook
#InstallMouseHook
;This script may need to be modified to RunAs Admin in order to properly supply middle mouse action to programs running with elevated privliges
;capslock to backspace
CapsLock:: Send {BackSpace}
return
; https://www.groovypost.com/howto/howto/windows-programs-always-on-top/
^SPACE:: Winset, Alwaysontop, , A
return
; remaps numpad 1 to left arrow, numpad 5 to up arrow, 2 to down, 3 to right
SC04F::Left
SC050::Down
SC051::Right
SC04B::Home
SC04C::Up
SC04D::End
;SC052::Numpad0 Stops SHIFT from releasing NUMLOCK
;SC04F::Numpad1
;SC050::Numpad2
;SC051::Numpad3
;SC04B::Numpad4
;SC04C::Numpad5
;SC04D::Numpad6
;SC047::Numpad7
;SC048::Numpad8
;SC049::Numpad9
; shift+Numpad4 lmao https://old.reddit.com/r/AutoHotkey/comments/cu3mro/help_with_shift_numpad_keys_disabling_wind4ws_os/
NumPad6::End
return
NumPadAdd::PgUp
return
NumPadEnter::PgDn
return
PgDn::Del
; ### archive ###
;Up::return
;Down::return
;Left::return
;Right::return
;^Left::Home
;enter to the |/\ key next to it https://autohotkey.com/board/topic/73168-changing-backslash-to-enter-without-recursion/
;$^\::
;;tooltip ctl bslash
;send {enter}
;return
;$+\::
;;tooltip shft bslash
;send {enter}
;return
;$\::
;;tooltip enter
;send {enter}
;return
;!m:: Send {ASC 0149}
; em dash
:*?:==-:: {U+2014}
; stickynote
;#n::
;Run, stickynot
; run cmd.exe and then hugo server
; win+alt+h
; marvin macros (alt+n)
;!1::
;MouseClick, left
;send {End}{Space}{+}1d{enter}
;return
;!2::
;MouseClick, left
;send {End}{Space}{+}2d{enter}
;return
;!3::
;MouseClick, left
;send {End}{Space}{+}7d{enter}
;return
;!4::
;MouseClick, left
;send {End}{Space}{+}30d{enter}
;return
;!5::
;MouseClick, left
;send {End}{Space}{+}90d{enter}
;return
;!q::
;MouseClick, left
;send {End}{Space}{+}m{enter}
;return
; ^!q:: means ctrl+alt+q
; disable ctrl+esc
^Esc::return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment