Skip to content

panoriega/MacAutoHotKey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

MacAutoHotKey

AutoHotKey script to map Mac Keyboard Keys on Windows
http://autohotkey.com
Inspired on:
https://medium.com/@chrisdhanaraj/mapping-your-macos-keybinds-to-windows-b6009c50065b

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #InstallKeybdHook ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

!+n::Send, ^+n ;Shift + Alt + n (new incognito windows)
!a::Send, ^a ;Alt+A (Option + a)
!c::Send, ^c ;Alt+c (Option + c; Copy)
!f::Send, ^f ;Alt+f (Option + f; Find)
!m::Send, +{#} ;minimize all
!n::Send, ^n ;Alt+n (Option + n; New Window)
!p::Send, ^p ;Alt+p (Option + p; Print)
!q::Send, !{F4} ;Alt+q (Option + q; Quit)
!r::Send, ^r ;Alt+r (Option + r; Refresh)
!s::Send, ^s ;Alt+s (Option +s; Save)
!Space::Send, #s ; Alt + space (Option + Space; Spotlight)
!t::Send, ^t ; Alt + t (Option + t; New Tab)
!u::Send, +{#}m ; unminimize
!v::Send, ^v ; Alt + v (Option + v; Paste)
!w::Send, ^w ; Alt + w (Option + w; Close)
!x::Send, ^x ; Alt + x (Option + x; Cut)
!z::Send, ^z ; Alt + z (Option + z; Undo)
RAlt & e::Send, {vkBAsc01A} ; Right Alt + e (Right Option e, send spanish accent mark)
RAlt & u::Send, +{vkBAsc01A} ; Right Alt + u (Right Option u, send spanish dieresis)

; https://gist.github.com/chrisdhanaraj/f6d1ff1e27e733bdd43257506688ccfc#file-osx-ahk
; replaced Control by Alt key

!Left::
    Send {Home}
Return

!Right::
    Send {End}
Return

!+Left::
    Send +{Home}
Return

!+Right::
    Send +{End}
Return

!Up::
    Send ^{Home}
Return

!Down::
    Send ^{End}
Return

!+Up::
    Send ^+{Home}
Return

!+Down::
    Send ^+{End}
Return

About

AutoHotKey script to map Mac Keyboard Keys on Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published