Created
October 29, 2013 17:05
-
-
Save TheBurnDoc/7218677 to your computer and use it in GitHub Desktop.
Example AutoHotkey script that essentially makes Windows act like OS X Lion (significantly, it inverts the scroll direction of the trackpad)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Increase maximum hotkeys (needed for scrolling to work) | |
#HotkeyInterval 250 | |
; Alt-3 for Hash/Pound | |
!3:: | |
Send {#} | |
Return | |
; Invert scrolling direction (OS X Lion behaviour) | |
WheelUp:: | |
Send {WheelDown} | |
Return | |
WheelDown:: | |
Send {WheelUp} | |
Return | |
WheelLeft:: | |
Send {WheelRight} | |
Return | |
WheelRight:: | |
Send {WheelLeft} | |
Return | |
; Cmd-X, C and V for cut, copy and paste | |
#x:: | |
Send ^x | |
Return | |
#c:: | |
Send ^c | |
Return | |
#v:: | |
Send ^v | |
Return | |
; Cmd-A for 'select all' in some programs | |
#a:: | |
Send ^a | |
Return | |
; Cmd-F for 'find' in some programs | |
#f:: | |
Send ^f | |
Return | |
; Cmd-S for 'save' in some programs | |
#s:: | |
Send ^s | |
Return | |
; Cmd-Z for 'undo' in some programs | |
#z:: | |
Send ^z | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment