Make Windows PC's shortcut act like macOS (Mac OS X)
With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v, ...) on Windows with a standard PC keyboard.
![Mac Mac](/uploads/1/1/8/9/118934529/551660849.png)
AutoIt is a freeware BASIC-like scripting language designed for automating the Windows GUI. Doesn't have to be an exact replica, just something that can find an image and click on it. I've been using SikuliX but it's much too slow, AHK instantly clicked it and moved to the next line whereas SikuliX takes like 5 seconds to move the mouse and click it. AutoHotkey is a free, open-source custom scripting language for Microsoft Windows, initially aimed at providing easy keyboard shortcuts or hotkeys, fast macro-creation and software automation that allows users of most levels of computer skill to automate repetitive tasks in any Windows application.
- AutoHotkey is a free, open-source custom scripting language for Microsoft Windows, initially aimed at providing easy keyboard shortcuts or hotkeys, fast macro-creation and software automation that allows users of most levels of computer skill to automate repetitive tasks in any Windows application.
- I use Kantu's desktop automation as 'AutoHotkey for Mac' - even so both tools are quite different. Kantu's visual approach is easier to use, but not as powerful as Ahk on windows. Kantu is open-source, too. – Jim Grigoryan Mar 26 '19 at 14:32.
Note that
- You should disable the
Between input languages
shotcut fromControl PanelClock, Language, and RegionLanguageAdvanced settings > Change lanugage bar hot keys
because it conflicts withcmd + shift + ↑ / ↓ / ← / →
(select text between cursor and top / bottom / beginning of line / end of line) - you shouldn't change the modifier keys mapping with keyboard DIP. This script assumes you use a standard PC keyboard layout, and wish to use shortcuts as if it was a mac keyboard layout.
you want to press | keyboard sends signal to PC | 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 |
... | ... | ... |
Auto Hot Key For Mac
To Run
- Install https://www.autohotkey.com/
- Copy and save the content of
mac.ahk
in a text file, named asmac.ahk
- Double click on
mac.ahk
file
Auto start after PC startup
Ahk For Mac
Place
mac.ahk
file (or make a shortcut) at C:Users<USERNAME>AppDataRoamingMicrosoftWindowsStart MenuProgramsStartup