Poker CopyCat.ahk 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. 
  2. ;==Hansi's PockerLike AHK Script==
  3. $XButton2::MButton
  4. LAlt & k::AltTab
  5. LAlt & j::ShiftAltTab
  6. SetCapsLockState,AlwaysOff
  7. ;===SC15D等于AppsKey======
  8. SC15D & e::
  9. send, {up}
  10. return
  11. SC15D & d::
  12. send {down}
  13. return
  14. SC15D & s::
  15. send {left}
  16. return
  17. SC15D & f::
  18. send {right}
  19. return
  20. SC15D & a::
  21. send, {Home}
  22. return
  23. SC15D & g::
  24. send {End}
  25. return
  26. SC15D & z::
  27. send ^{Home}
  28. return
  29. SC15D & w::
  30. send ^w
  31. return
  32. SC15D & q::
  33. send, !{F4}
  34. return
  35. SC15D & t::
  36. send, ^!{Tab}
  37. return
  38. SC15D & r::
  39. send, ^!+{Tab}
  40. return
  41. SC15D & x::
  42. send, +{Left}
  43. return
  44. SC15D & c::
  45. send, +{Right}
  46. return
  47. SC15D & v::
  48. send, +{End}
  49. return
  50. SC15D & i::
  51. Send, {PgUp}
  52. return
  53. SC15D & o::
  54. Send, {PgDn}
  55. return
  56. SC15D & j::
  57. Send, {Down}{Down}{Down}
  58. return
  59. SC15D & k::
  60. Send, {Up}{Up}{Up}
  61. return
  62. SC15D & m::
  63. send, {Del}
  64. return
  65. SC15D & n::
  66. send, {BS}
  67. return
  68. SC15D & Tab::
  69. send, #{Tab}
  70. return
  71. SC15D & .::
  72. send, 1.414213562jh
  73. return
  74. SC15D & ,::
  75. send, 18669276489{Enter}
  76. return
  77. SC15D & /::
  78. send, hansi-go@163.com
  79. return
  80. SC15D & RShift::
  81. send, 111
  82. return
  83. ;鼠标左键加键盘的C,打开计算器
  84. ~LButton & C::run calc
  85. ~LButton & w::send ^w
  86. ~LButton & q::send !{F4}
  87. CapsLock & s::
  88. send #{Left}
  89. return
  90. CapsLock & f::
  91. send #{Right}
  92. return
  93. CapsLock & e::
  94. send #{Up}
  95. return
  96. CapsLock & d::
  97. send #{Down}
  98. return
  99. ;鼠标移动,带有Control移动的快,没有Control移动的慢
  100. CapsLock & i::
  101. if GetKeyState("control") = 1
  102. {
  103. MouseMove, 0, -150, 0, R
  104. }
  105. else
  106. {
  107. MouseMove, 0, -15, 0, R
  108. }
  109. return
  110. ;=======================
  111. CapsLock & k::
  112. if GetKeyState("control") = 1
  113. {
  114. MouseMove, 0, 150, 0, R
  115. }
  116. else
  117. {
  118. MouseMove, 0, 15, 0, R
  119. }
  120. return
  121. CapsLock & j::
  122. if GetKeyState("control") = 1
  123. {
  124. MouseMove, -150, 0, 0, R
  125. }
  126. else
  127. {
  128. MouseMove, -15, 0, 0, R
  129. }
  130. return
  131. CapsLock & l::
  132. if GetKeyState("control") = 1
  133. {
  134. MouseMove, 150, 0, 0, R
  135. }
  136. else
  137. {
  138. MouseMove, 15, 0, 0, R
  139. }
  140. return
  141. ;======鼠标左右键
  142. CapsLock & u::send {LButton}
  143. CapsLock & o::send {RButton}
  144. ;======
  145. !^c::
  146. run, c:\cmder\cmder.exe
  147. return
  148. !^n::
  149. run, C:\Program Files (x86)\Notepad++\notepad++.exe
  150. return
  151. CapsLock & r::reload