Make Windows PC's shortcut act like macOS (Mac OS X)
- 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.
- 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.
Make your Mac and its applications behave the way you want. Launch applications and have the windows arranged your way. Have other applications quit when you launch an application. Have your Mac set itself up at 8:00 each morning. Osirix lite for mac. It’s your Mac, with Keyboard Maestro you are in control. AutoHotkey 1.1.33.02 is available to all software users as a free download for Windows 10 PCs but also without a hitch on Windows 7 and Windows 8. Compatibility with this script creator software may vary, but will generally run fine under Microsoft Windows 10, Windows 8, Windows 8.1, Windows 7, Windows Vista and Windows XP on either a 32-bit.
Autohotkey Download Mac App
With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v, ..) on Windows with a standard PC keyboard.
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 |
.. | .. | .. |
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
Place
mac.ahk
file (or make a shortcut) at C:Users<USERNAME>AppDataRoamingMicrosoftWindowsStart MenuProgramsStartup
Bootcamp.ahk
Autohotkey Download Mac Installer
; Boot Camp AutoHotkey Bindings |
; |
; Removes some of the 'Damn you, muscle memory' involved with Boot Camp |
; |
; AutoHotkey |
; -- |
; This is free and unencumbered software released into the public domain. |
; Anyone is free to copy, modify, publish, use, compile, sell, or |
; distribute this software, either in source code form or as a compiled |
; binary, for any purpose, commercial or non-commercial, and by any |
; means. |
; In jurisdictions that recognize copyright laws, the author or authors |
; of this software dedicate any and all copyright interest in the |
; software to the public domain. We make this dedication for the benefit |
; of the public at large and to the detriment of our heirs and |
; successors. We intend this dedication to be an overt act of |
; relinquishment in perpetuity of all present and future rights to this |
; software under copyright law. |
; THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
; IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
; OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
; ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
; OTHER DEALINGS IN THE SOFTWARE. |
; For more information, please refer to <http://unlicense.org/> |
#SingleInstance |
; Delete key |
!Backspace::Delete |
; Natural scrolling |
WheelDown::WheelUp |
WheelUp::WheelDown |
; Ctrl vs Command |
LWin::LCtrl |
LCtrl::LWin |
RWin::RCtrl |
; RCtrl::RWin |
; Some shortcut remapping |
^Tab::!Tab |
^W::!F4 |
#Right::^#Right ; Workspace changing |
#Left::^#Left |
^Right::End ; Text Navigation |
^Left::Home |
#LButton::RButton |
#IfWinActive ahk_class ConsoleWindowClass; Make Ctrl and Cmd + C behave as expected in terminal |
^C::Send { Enter } |
#C::Send { ^C } |
#IfWinActive |
Autohotkey Download Macro
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment