-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathScript.ahk
41 lines (34 loc) · 1 KB
/
Script.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#KeyHistory 0
#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.
;<<<Touchpad>>>
F22:: MButton
F24:: #Up
;<<<Keyboard>>>
;"RAlt" and "Appskey" to "Home" and "End"
+Appskey:: Send {Shift Down}{End}{Shift Up}
+RAlt:: Send {Shift Down}{Home}{Shift Up}
Appskey:: Send {End}
RAlt:: Send {Home}
;Swap F7 - F12 Keys with its Fn equivalents
$F7:: Send {PrintScreen}
$F8:: Send {Home}
$F9:: Send {End}
$F10:: Send {PgUp}
$F11:: Send {PgDn}
$F12:: Send {Insert}
;$PrintScreen:: Send {F7}
;$Home:: Send {F8}
;$End:: Send {F9}
;$PgUp:: Send {F10}
;$PgDn:: Send {F11}
;$Insert:: Send {F12}
;Media Keys
#!SPACE:: Send {Media_Play_Pause}
#!Left:: Send {Media_Prev}
#!Right:: Send {Media_Next}
#!Down:: Send {Volume_Down}
#!Up:: Send {Volume_Up}
#!m:: Send {Volume_Mute}