Created
November 18, 2020 20:45
-
-
Save aaronhoffman/d9a73988354b90b407b0a974a01027c1 to your computer and use it in GitHub Desktop.
Revisions
-
aaronhoffman created this gist
Nov 18, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,82 @@ ;========================================= ; 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}