A script for autohotkey to remap keys when using an Apple Keyboard with a Windows PC
Oct 18, 2019 Autohotkey 2 Alpha Keys Full Setup Win + MAC With Script. Autohotkey keys have a list to provide you more keys to set a shortcut code, key list to control the multiple peripheral devices. A sublime feature to handle the command line functions over a keyboard. How can I run an AutoHotKey program on Mac? Ask Question 0. So I just recently programmed a simple AHK GUI for a school project and was wondering if there is any way that I could run it on Mac as well? If not, is there any equivalent program that I could use? It doesn't have to be exactly alike my AHK program, but I'd greatly appreciate any. Somewhere out there is a person who know exactly the right program for you, but has never heard of AutoHotkey, because he's a dedicated Mac user. As written this question won't get an answer from them. – dmckee Aug 23 '09 at 14:16.
![Script Script](/uploads/1/3/4/0/134049155/550772764.jpg)
AutoHotkey unleashes the full potential of your keyboard, joystick, and mouse. For example, in addition to the typical Control, Alt, and Shift modifiers, you can use the Windows key and the Capslock key as modifiers. Mar 30, 2017 AutoHotkey Mappings to emulate OSX behaviour with a Mac keyboard on Windows - stroebjo/autohotkey-windows-mac-keyboard.
Apple Keyboard Autohotkey Script
; |
; AutoHotkey Version: 1.x |
; Language: English |
; Platform: Win9x/NT |
; Author: Matt Heath <[email protected]> |
; |
; Script Function: |
; Remaps keys when using an Apple Keyboard with a Windows PC |
; |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. |
; Volume Controls |
; |
F10::Send {Volume_Mute} |
F11::Send {Volume_Down 2} |
F12::Send {Volume_Up 2} |
; Play Controls |
; |
F7::Send {Media_Prev} |
F8::Send {Media_Play_Pause} |
F9::Send {Media_Next} |
; Missing keys |
; |
F13::Send {PrintScreen} |
F16::Send {Pause} |
; Task manager |
F4::Send, {SHIFTDOWN}{CTRLDOWN}{ESC}{SHIFTUP}{CTRLUP} |
; Cursor Movement |
; |
; cmd + arrows - start & end of lines, with shift for selecting text |
#Left::SendInput {Home} |
#Right::SendInput {End} |
#+Left::sendInput +{Home} |
#+Right::SendInput +{End} |
!Left::SendInput ^{Left} |
!Right::SendInput ^{Right} |
!+Left::SendInput ^+{Left} |
!+Right::SendInput ^+{Right} |
; Desktop rotation ( Spaces ) |
; Ctrl Left & Right remapped to F18 & F19 which switch virtual desktops ( I use Dexpot ) |
; |
^Left::Send {F18} |
^Right::Send {F19} |
; Remapping control key shortcuts |
; |
; copy, paste, save, select all etc |
#c::^c |
#x::^x |
#v::^v |
#s::^s |
#a::^a |
#z::^z |
#b::^b |
#i::^i |
; Keyboard Characters |
; |
!3::Send {Raw}# |
+2::Send {Raw}@ |
+'::Send {Raw}' |
commented Oct 11, 2013
Wow... I literally just made my own script 2 days ago after searching through google for ages. :/ Though I made it Winkey-f# for media keys. |
commented Jul 11, 2014
I made a fork that works with non-English keyboard layouts (like Japaneze, Russian etc) https://gist.github.com/jitbit/e948cf198f54cbf3992c (because this one works only when the keyboard is in 'English' mode) |
commented May 8, 2018
Thanks so much, beautiful stuff! |
Autohotkey For Windows Macro Recording
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment