
24
u/GamesDean
I have this simple script for Windows:
#Requires AutoHotkey v2.0
#SingleInstance Force
; Prevent left control from being sent as a side effect of listing for alt?
A_MenuMaskKey := "vkE8"
; Remap Left Alt + Left Arrow to Home
*<!Left::
{
; Is this if/else needed?
if GetKeyState("Shift")
Send "+{Home}"
else
Send "{Home}"
; Prevent repeated keypresses from firing
KeyWait "Left"
}
; Remap Left Alt + Right Arrow to End
*<!Right::
{
; Is this if/else needed?
if GetKeyState("Shift")
Send "+{End}"
else
Send "{End}"