Skip to content

Instantly share code, notes, and snippets.

@dob9601
Last active June 1, 2018 13:01
Show Gist options
  • Save dob9601/1fc05130e3a4c3eebab0130dcacb7cca to your computer and use it in GitHub Desktop.
Save dob9601/1fc05130e3a4c3eebab0130dcacb7cca to your computer and use it in GitHub Desktop.
Designed for laptops and other windows machines that cannot perform the default change virtual desktop key combination due to ghosting. This autohotkey file rebinds the combination to LeftCTRL + Left and LeftCTRL + Right. It also rebinds the Browser_Back event and Browser_Forward event to do the same thing. This can be used with some touchpads i…
Browser_Back::SendInput {LCtrl down}{LWin down}{Right}{LCtrl up}{LWin up}
Browser_Forward::SendInput {LCtrl down}{LWin down}{Left}{LCtrl up}{LWin up}
LCtrl & Left::sendevent {LWin down}{LCtrl down}{Left down}{Lwin up}{LCtrl up}{Left up}
LCtrl & Right::sendevent {LWin down}{LCtrl down}{Right down}{LWin up}{LCtrl up}{Right up}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment