Skip to content

Instantly share code, notes, and snippets.

@stabacco
Created September 16, 2020 10:54
Show Gist options
  • Save stabacco/f82d1d3a437fc6cd3fbf4ad311ea2e67 to your computer and use it in GitHub Desktop.
Save stabacco/f82d1d3a437fc6cd3fbf4ad311ea2e67 to your computer and use it in GitHub Desktop.
Visual Studio AutoKey DELL
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive ahk_class Chrome_WidgetWin_1 ; Visual studio code
PgUp::
Send, {Left down} ; If PageUp is sent, replace it with a Left button press
return
+PgUp::
Send, {Shift down}{Left down} ; If Shift+PageUp is sent, replace it with a Shift+Left button press
return
PgDn::
Send, {Right down} ; If PageDown is sent, replace it with a Right button press
return
+PgDn::
Send, {Shift down}{Right down} ; If Shift+PageDown is sent, replace it with a Shift+Right button press
return
#If
::don;t::don't
::dont::don't
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment