Created
November 18, 2020 20:45
-
-
Save aaronhoffman/d9a73988354b90b407b0a974a01027c1 to your computer and use it in GitHub Desktop.
AutoHotKey Mac keyboard on Windows
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
;========================================= | |
; AutoHotKey scripts for Corrections/Improvements to Mac keyboard on Windows OS https://github.com/aaronhoffman/autohotkey | |
;========================================= | |
; NOTES | |
; ! = ALT | |
; ^ = CTRL | |
; + = SHIFT | |
; # = WIN | |
#InstallKeybdHook | |
#SingleInstance force | |
SetTitleMatchMode 2 | |
SendMode Input | |
; -------------------------------------------------------------- | |
; media/function keys all mapped to the right option key | |
; -------------------------------------------------------------- | |
; F13-15, standard windows mapping | |
F13::SendInput {PrintScreen} | |
F14::SendInput {ScrollLock} | |
F15::SendInput {Pause} | |
; -------------------------------------------------------------- | |
; OS X system shortcuts | |
; -------------------------------------------------------------- | |
; Windows+Tab not allowed to be overridden in Windows 8 | |
; Remap Windows + Tab to Alt + Tab. | |
;# & Tab::AltTab | |
; Map Windows+Key to ctrl+Key | |
#.::Send ^. | |
#s::Send ^s | |
#a::Send ^a | |
#c::Send ^c | |
#v::Send ^v | |
#x::Send ^x | |
#o::Send ^o | |
#f::Send ^f | |
#z::Send ^z | |
#y::Send ^y | |
#t::Send ^t | |
#w::Send ^w | |
#q::Send !{F4} | |
; Windows Arrow to Home/End | |
#Left::Send {Home} | |
#Right::Send {End} | |
#+Left::Send +{Home} | |
#+Right::Send +{End} | |
; Option Arrow to Ctrl Arrow | |
#!Left::SendInput ^{Left} | |
#!Right::SendInput ^{Right} | |
#!+Left::SendInput ^+{Left} | |
#!+Right::SendInput ^+{Right} | |
; Refresh in chrome | |
#r::Send ^r | |
; Address/location bar in chrome (this does not work due to Windows Lock feature) | |
; #l::^l | |
; -------------------------------------------------------------- | |
; Correct the numpad keys | |
; -------------------------------------------------------------- | |
; change = to / (= scancode SC059) | |
SC059::SC035 | |
; change / to = (this is not working) | |
; SC035::SC059 | |
; change * to - | |
NumpadMult::NumpadSub | |
; change - to * | |
NumpadSub::NumpadMult | |
; easy context menu in windows explorer | |
+Return::SendInput +{F10} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
more info https://aaron-hoffman.blogspot.com/2015/06/autohotkey-mac-keyboard-on-windows-8.html