

SetWorkingDir % A_ScriptDir% Ensures a consistent starting directory. SendMode Input Recommended for new scripts due to its superior speed and reliability. #Warn Enable warnings to assist with detecting common errors. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. You may use the native Automator & AppleScript combination, 3rd party. Place mac.ahk file (or make a shortcut) at C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup You have some alternatives for inserting depending on your exact use case.

This script assumes you use a standard PC keyboard layout, and wish to use shortcuts as if it was a mac keyboard layout. you shouldn't change the modifier keys mapping with keyboard DIP.

However, since we remapped the Alt and Windows keys in the registry, the shorthand might not match the key you're actually pressing on your keyboard. Alt Control + Shift Windows So, q is the same as pressing Control-Q. You should disable the Between input languages shotcut from Control Panel\Clock, Language, and Region\Language\Advanced settings > Change lanugage bar hot keys because it conflicts with cmd + shift + ↑ / ↓ / ← / → (select text between cursor and top / bottom / beginning of line / end of line) Normally, AutoHotkey uses the following shorthands for modifier keys.) on Windows with a standard PC keyboard. With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v. Use (most) macOS style keyboard shortcuts on Windows Make Windows PC's shortcut act like macOS (Mac OS X)
