Advertisement
Guest User

Untitled

a guest
Oct 15th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; CapsLock navigation
  2. ; ! alt, ^ ctrl, + shift, # win
  3. #MaxHotkeysPerInterval 200
  4. #InstallKeybdHook
  5. SetTitleMatchMode, 2
  6.  
  7. Suspend On
  8.  
  9. i::Up
  10. j::Left
  11. k::Down
  12. l::Right
  13.  
  14. u::Home
  15. o::End
  16. p::PgUp
  17. ö::PgDn
  18.  
  19. b::☐
  20. +b::☑
  21. ^b::ಠ
  22.  
  23. r:: Send {LWin down}{Tab}{LWin up}
  24.  
  25. n::^#Left
  26. m::^#Right
  27.  
  28. a::Control
  29. w::Shift
  30.  
  31. $s::(
  32. $d::)
  33. $^s::{
  34. $^d::}
  35.  
  36. q::Backspace
  37. e::Delete
  38. f::Enter
  39.  
  40. 1::F1
  41. 2::F2
  42. 3::F3
  43. 4::F4
  44. 5::F5
  45. 6::F6
  46. 7::F7
  47.  
  48. $+7::Send {Volume_Down 1}
  49. $+8::Send {Media_Play_Pause}
  50. $+9::Send {Volume_Up 1}
  51.  
  52. h::AppsKey
  53.  
  54. WheelDown::Send {Volume_Down 1}
  55. WheelUp::Send {Volume_Up 1}
  56. MButton::Send {Volume_Mute}
  57.  
  58. XButton1::Media_Play_Pause
  59. XButton2::Media_Next
  60.  
  61. Numpad0::SoundPlay, %A_ScriptDir%\AHKSounds\airhorn1.mp3
  62.  
  63. Numpad1::
  64. SoundFile = %A_ScriptDir%\AHKSounds\airhorn1.mp3
  65. GoSub, PlaySound
  66. Return
  67.  
  68. PlaySound:
  69. FileDelete, %A_ScriptDIR%\Sound1.AHK
  70. FileAppend,
  71. (
  72. #NoTrayIcon
  73. SoundPlay, %SoundFile%, Wait
  74. ), %A_ScriptDir%\Sound1.AHK
  75. Run, %A_ScriptDIR%\Sound1.AHK
  76. Return
  77.  
  78. c::
  79. random, n, 0, 9
  80. Send %n%
  81. Return
  82.  
  83. $v::
  84. Random, OutputInt, 65, 90
  85. OutputChr := Chr(OutputInt)
  86. Send %OutputChr%
  87. Return
  88.  
  89. F13::Suspend Off
  90.  
  91. F13 Up::
  92. Suspend On
  93. Send {LShift Up}
  94. Send {LCtrl Up}
  95. Return
  96.  
  97. ^F13 Up::
  98. Suspend On
  99. Send {LCtrl Up}
  100. Return
  101.  
  102. +F13 Up::
  103. Suspend On
  104. Send {LShift Up}
  105. Return
  106.  
  107. ^+F13 Up::
  108. Suspend On
  109. Send {LShift Up}
  110. Send {LCtrl Up}
  111. Return
  112.  
  113. !F13 Up::
  114. Suspend On
  115. Send {Alt Up}
  116. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement