ℹ️ There is a newer alternative project that does similar things and more, check it out at https://github.com/stevenilsen123/mac-keyboard-behavior-in-windows
Make Windows PC's shortcut act like macOS (Mac OS X) (using AutoHotkey (ahk) script)
With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v, ...) on Windows with a standard PC keyboard.
Here's some examples of how this script work:
|you want to press||what you're actually pressing||AutoHotKey tells Windows|
|cmd + c||alt + c||ctrl + c|
|cmd + v||alt + v||ctrl + v|
|cmd + r||alt + r||F5|
|cmd + ↑||alt + ↑||Home|
|cmd + shift + [||alt + shift + [||ctrl + shift + Tab|
- you shouldn't change the modifier keys mapping with keyboard DIP. This script assumes you (1) use a PC keyboard on Mac and have swapped [cmd] and [option] keys via Mac system preferences (2) you are familiar with mac shortcuts in macs (3) you want to use the PC keyboard and mac-style shortcuts on PC.
- To use
cmd + shift + ↑ / ↓ / ← / →(select text between cursor and top / bottom / beginning of line / end of line), You should disable the
Between input languagesshotcut from
Control Panel\Clock, Language, and Region\Language\Advanced settings > Change lanugage bar hot keysdue to conflicting.
- Some Windows built-in keyboard shortcuts will be overridden. For example:
win + ↑ / ↓ / ← / →(snap window to side). Change
mac.ahkaccordingly if you prefer to keep the default behavior.
- Install https://www.autohotkey.com/
- Copy and save the content of
mac.ahkin a text file, named as
- Double click on
Complete the step of "To Run Once" section first.
mac.ahk file (or make a shortcut) at