-
-
Save tolgabalci/7dc138535fb68e3fbe8e25352ed201d8 to your computer and use it in GitHub Desktop.
Dell XPS 9300/9500/9700 Home & End key configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ********************************************************** | |
; Version 1.1 - Created by Tolga Balci | |
; https://gist.github.com/tolgabalci/7dc138535fb68e3fbe8e25352ed201d8 | |
; | |
; WINDOWS NAVIGATION KEY SETTINGS FOR DELL XPS LIKE | |
; KEYBOARDS WHICH DO NOT HAVE GOOD ACCESS TO HOME/END KEYS | |
; | |
; Installation: | |
; 1) Download & install from https://autohotkey.com/download/ | |
; AutoHotkey version 1.1.* Previously known as AutoHotkey_L. | |
; Below script is not compatible with the ALPHA version 2+. | |
; | |
; 2) Copy this script in to a location where you will keep | |
; all your AutoHotKey scripts. e.g. c:\AutoHotKey | |
; | |
; 3) Open Explorer and type "startup" | |
; (This will take you to %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup) | |
; | |
; 4) Create a shortcut to your *.ahk script in the Startup folder. | |
; (This will cause the scripts to run everytime you login) | |
; ********************************************************** | |
; ========================================================== | |
; SECTION 1 | |
; | |
; Alt Left/Right should act as Home/End | |
; (We also support forgetting to let go Ctrl for this) | |
; ========================================================== | |
!Left:: | |
SendInput {HOME} | |
return | |
!Right:: | |
SendInput {END} | |
return | |
; --------------- | |
+!Left:: | |
SendInput +{HOME} | |
return | |
+!Right:: | |
SendInput +{END} | |
return | |
; --------------- | |
^!Left:: | |
SendInput {HOME} | |
return | |
^!Right:: | |
SendInput {END} | |
return | |
; --------------- | |
+^!Left:: | |
SendInput +{HOME} | |
return | |
+^!Right:: | |
SendInput +{END} | |
return | |
; ========================================================== | |
; SECTION 2 | |
; | |
; Ctrl Up/Down should act as Ctrl Home/End | |
; (Go to the top of the page or bottom of the page) | |
; ========================================================== | |
^Up:: | |
SendInput ^{Home} | |
return | |
^Down:: | |
SendInput ^{End} | |
return | |
; --------------- | |
+^Up:: | |
SendInput +^{HOME} | |
return | |
+^Down:: | |
SendInput +^{END} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment