Skip to content

Instantly share code, notes, and snippets.

@coderfin
Created March 1, 2018 21:15
Show Gist options
  • Save coderfin/8ed5f01cf7274b735a328b34ffa82666 to your computer and use it in GitHub Desktop.
Save coderfin/8ed5f01cf7274b735a328b34ffa82666 to your computer and use it in GitHub Desktop.
Map a Mac keyboard's right-control-key to a virtual, single-click of the left-Win-key on an AWS Windows WorkSpace
; 1) Download and install AutoHotKey
; https://autohotkey.com/download/
; 2) Save this file to your AWS WorkSpace desktop as override.ahk
; 3) Right click override.ahk on the desktop and `Compile Script`
; 4) Move the generated override.exe file and to the startup folder for all users
; You can find the startup folder by opening the Run program in windows and typing `shell:common startup`
; 5) Restart the machine or run the override.exe file
#SingleInstance force
RCtrl::
KeyWait Ctrl
Send {LWin}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment