Advertisement
Guest User

kbseq.ahk

a guest
Feb 18th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. #maxhotkeysperinterval 200
  2. sendmode, event
  3. setkeydelay, -1
  4. setmousedelay, -1
  5. return
  6.  
  7. pause::exitapp
  8. ~scrolllock::suspend, % getkeystate("scrolllock","t") ? "on" : "off"
  9.  
  10. *a::
  11. *b::
  12. *c::
  13. *d::
  14. *e::
  15. *f::
  16. *g::
  17. *h::
  18. *i::
  19. *j::
  20. *k::
  21. *l::
  22. *m::
  23. *n::
  24. *o::
  25. *p::
  26. *q::
  27. *r::
  28. *s::
  29. *t::
  30. *u::
  31. *v::
  32. *w::
  33. *x::
  34. *y::
  35. *z::
  36. *space::
  37. hk := substr(a_thishotkey, 2)
  38. if (hk <> lasthk) {
  39. lasthk := hk
  40. sendkey := (hk = "space") ? "{space}" : hk
  41. seq .= sendkey
  42. send {blind}%sendkey%
  43. }
  44. else
  45. send {blind}%seq%
  46. return
  47.  
  48. *a up::
  49. *b up::
  50. *c up::
  51. *d up::
  52. *e up::
  53. *f up::
  54. *g up::
  55. *h up::
  56. *i up::
  57. *j up::
  58. *k up::
  59. *l up::
  60. *m up::
  61. *n up::
  62. *o up::
  63. *p up::
  64. *q up::
  65. *r up::
  66. *s up::
  67. *t up::
  68. *u up::
  69. *v up::
  70. *w up::
  71. *x up::
  72. *y up::
  73. *z up::
  74. *space up::
  75. hk := substr(a_thishotkey, 2, -3)
  76. if (hk = lasthk) {
  77. lasthk := ""
  78. seq := ""
  79. }
  80. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement