Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.36 KB | None | 0 0
  1. lshift::
  2. send {lshift down}
  3. keywait lshift
  4. return
  5. lshift up::
  6. send % (a_priorkey = "lshift") ? "{lshift up}{appskey}" : "{lshift up}"
  7. return
  8.  
  9. space::
  10. sendinput {lshift down}
  11. return
  12. space up::
  13. send % (a_priorkey = "space") ? "{lshift up}{space}" : "{lshift up}"
  14. return
  15.  
  16. `;::
  17. sendinput {lctrl down}
  18. return
  19. `; up::
  20. send % (a_priorkey = "`;") ? "{lctrl up}{`;}" : "{lctrl up}"
  21. return
  22.  
  23.  
  24.  
  25.  
  26. c:: c
  27.  
  28. c & a:: 1
  29. c & s:: 2
  30. c & d:: 3
  31. c & f:: 4
  32. c & g:: 5
  33. c & h:: 6
  34. c & j:: 7
  35. c & k:: 8
  36. c & l:: 9
  37. c & `;:: 0
  38.  
  39. c & vkba:: -
  40. c & p:: +`;
  41. c & @:: +vkba
  42.  
  43. c & x:: delete
  44. c & v:: tab
  45. c & b:: backspace
  46. c & n:: enter
  47.  
  48. c & y:: left
  49. c & u:: down
  50. c & i:: up
  51. c & o:: right
  52.  
  53. $sc03a:: send {esc}
  54. $vk1c:: send {vkf2}
  55. $vk1d:: send {vkf2}{sc03a}
  56.  
  57.  
  58.  
  59.  
  60. vk1d & s:: send {click right}
  61.  
  62. vk1c & v::
  63. formattime, time, , HH:mm:ss
  64. send %time%
  65. return
  66.  
  67. vk1d & v::
  68. formattime, time, , yyMMdd
  69. send %time%
  70. return
  71.  
  72.  
  73.  
  74.  
  75. vk1d & b::
  76. if getkeystate("lctrl", "p")
  77. send ^{backspace}
  78. else if getkeystate("lshift", "p")
  79. send +{backspace}
  80. else
  81. send {backspace}
  82. return
  83.  
  84. vk1d & d::
  85. if getkeystate("lctrl", "p")
  86. send ^{delete}
  87. else if getkeystate("lshift", "p")
  88. send +{delete}
  89. else
  90. send {delete}
  91. return
  92.  
  93. vk1d & n::
  94. if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  95. send +^{enter}
  96. else if getkeystate("lalt", "p")
  97. send !{enter}
  98. else if getkeystate("lctrl", "p")
  99. send ^{enter}
  100. else if getkeystate("lshift", "p")
  101. send +{enter}
  102. else
  103. send {enter}
  104. return
  105.  
  106. vk1d & f::
  107. if getkeystate("lshift", "p") and getkeystate("lalt", "p")
  108. send +!{tab}
  109. else if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  110. send +^{tab}
  111. else if getkeystate("lalt", "p")
  112. send !{tab}
  113. else if getkeystate("lwin", "p")
  114. send #{tab}
  115. else if getkeystate("lctrl", "p")
  116. send ^{tab}
  117. else if getkeystate("lshift", "p")
  118. send +{tab}
  119. else
  120. send {tab}
  121. return
  122.  
  123.  
  124.  
  125.  
  126. vk1c & h::
  127. if getkeystate("vk1d", "p") and getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  128. send +^{home}
  129. else if getkeystate("vk1d", "p") and getkeystate("lctrl", "p")
  130. send ^{home}
  131. else if getkeystate("vk1d", "p") and getkeystate("lshift", "p")
  132. send +{home}
  133. else if getkeystate("vk1d", "p")
  134. send {home}
  135. else if getkeystate("lwin", "p") and getkeystate("lctrl", "p")
  136. send #^{left}
  137. else if getkeystate("lshift", "p") and getkeystate("lalt", "p")
  138. send +!{left}
  139. else if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  140. send +^{left}
  141. else if getkeystate("lalt", "p")
  142. send !{left}
  143. else if getkeystate("lwin", "p")
  144. send #{left}
  145. else if getkeystate("lctrl", "p")
  146. send ^{left}
  147. else if getkeystate("lshift", "p")
  148. send +{left}
  149. else
  150. send {left}
  151. return
  152. vk1d & h::
  153. if getkeystate("vk1c", "p") and getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  154. send +^{home}
  155. else if getkeystate("vk1c", "p") and getkeystate("lctrl", "p")
  156. send ^{home}
  157. else if getkeystate("vk1c", "p") and getkeystate("lshift", "p")
  158. send +{home}
  159. else if getkeystate("vk1c", "p")
  160. send {home}
  161. else if getkeystate("lwin", "p") and getkeystate("lctrl", "p")
  162. send #^{left}
  163. else if getkeystate("lwin", "p")
  164. send #{left}
  165. else if getkeystate("lshift", "p") and getkeystate("lalt", "p")
  166. send +!{left}
  167. else if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  168. send +^{left}
  169. else if getkeystate("lalt", "p")
  170. send !{left}
  171. else if getkeystate("lctrl", "p")
  172. send ^{left}
  173. else if getkeystate("lshift", "p")
  174. send +{left}
  175. else
  176. send {left}
  177. return
  178.  
  179.  
  180.  
  181.  
  182. vk1c & j::
  183. if getkeystate("vk1d", "p") and getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  184. send +^{pgdn}
  185. else if getkeystate("vk1d", "p") and getkeystate("lctrl", "p")
  186. send ^{pgdn}
  187. else if getkeystate("vk1d", "p") and getkeystate("lshift", "p")
  188. send +{pgdn}
  189. else if getkeystate("vk1d", "p")
  190. send {pgdn}
  191. else if getkeystate("lwin", "p") and getkeystate("lctrl", "p")
  192. send #^{down}
  193. else if getkeystate("lshift", "p") and getkeystate("lalt", "p")
  194. send +!{down}
  195. else if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  196. send +^{down}
  197. else if getkeystate("lalt", "p")
  198. send !{down}
  199. else if getkeystate("lwin", "p")
  200. send #{down}
  201. else if getkeystate("lctrl", "p")
  202. send ^{down}
  203. else if getkeystate("lshift", "p")
  204. send +{down}
  205. else
  206. send {down}
  207. return
  208. vk1d & j::
  209. if getkeystate("vk1c", "p") and getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  210. send +^{pgdn}
  211. else if getkeystate("vk1c", "p") and getkeystate("lctrl", "p")
  212. send ^{pgdn}
  213. else if getkeystate("vk1c", "p") and getkeystate("lshift", "p")
  214. send +{pgdn}
  215. else if getkeystate("vk1c", "p")
  216. send {pgdn}
  217. else if getkeystate("lwin", "p") and getkeystate("lctrl", "p")
  218. send #^{down}
  219. else if getkeystate("lwin", "p")
  220. send #{down}
  221. else if getkeystate("lshift", "p") and getkeystate("lalt", "p")
  222. send +!{down}
  223. else if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  224. send +^{down}
  225. else if getkeystate("lalt", "p")
  226. send !{down}
  227. else if getkeystate("lctrl", "p")
  228. send ^{down}
  229. else if getkeystate("lshift", "p")
  230. send +{down}
  231. else
  232. send {down}
  233. return
  234.  
  235.  
  236.  
  237.  
  238. vk1c & k::
  239. if getkeystate("vk1d", "p") and getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  240. send +^{pgup}
  241. else if getkeystate("vk1d", "p") and getkeystate("lctrl", "p")
  242. send ^{pgup}
  243. else if getkeystate("vk1d", "p") and getkeystate("lshift", "p")
  244. send +{pgup}
  245. else if getkeystate("vk1d", "p")
  246. send {pgup}
  247. else if getkeystate("lwin", "p") and getkeystate("lctrl", "p")
  248. send #^{up}
  249. else if getkeystate("lshift", "p") and getkeystate("lalt", "p")
  250. send +!{up}
  251. else if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  252. send +^{up}
  253. else if getkeystate("lalt", "p")
  254. send !{up}
  255. else if getkeystate("lwin", "p")
  256. send #{up}
  257. else if getkeystate("lctrl", "p")
  258. send ^{up}
  259. else if getkeystate("lshift", "p")
  260. send +{up}
  261. else
  262. send {up}
  263. return
  264. vk1d & k::
  265. if getkeystate("vk1c", "p") and getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  266. send +^{pgup}
  267. else if getkeystate("vk1c", "p") and getkeystate("lctrl", "p")
  268. send ^{pgup}
  269. else if getkeystate("vk1c", "p") and getkeystate("lshift", "p")
  270. send +{pgup}
  271. else if getkeystate("vk1c", "p")
  272. send {pgup}
  273. else if getkeystate("lwin", "p") and getkeystate("lctrl", "p")
  274. send #^{up}
  275. else if getkeystate("lwin", "p")
  276. send #{up}
  277. else if getkeystate("lshift", "p") and getkeystate("lalt", "p")
  278. send +!{up}
  279. else if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  280. send +^{up}
  281. else if getkeystate("lalt", "p")
  282. send !{up}
  283. else if getkeystate("lctrl", "p")
  284. send ^{up}
  285. else if getkeystate("lshift", "p")
  286. send +{up}
  287. else
  288. send {up}
  289. return
  290.  
  291.  
  292.  
  293.  
  294. vk1c & l::
  295. if getkeystate("vk1d", "p") and getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  296. send +^{end}
  297. else if getkeystate("vk1d", "p") and getkeystate("lctrl", "p")
  298. send ^{end}
  299. else if getkeystate("vk1d", "p") and getkeystate("lshift", "p")
  300. send +{end}
  301. else if getkeystate("vk1d", "p")
  302. send {end}
  303. else if getkeystate("lwin", "p") and getkeystate("lctrl", "p")
  304. send #^{right}
  305. else if getkeystate("lshift", "p") and getkeystate("lalt", "p")
  306. send +!{right}
  307. else if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  308. send +^{right}
  309. else if getkeystate("lalt", "p")
  310. send !{right}
  311. else if getkeystate("lwin", "p")
  312. send #{right}
  313. else if getkeystate("lctrl", "p")
  314. send ^{right}
  315. else if getkeystate("lshift", "p")
  316. send +{right}
  317. else
  318. send {right}
  319. return
  320. vk1d & l::
  321. if getkeystate("vk1c", "p") and getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  322. send +^{end}
  323. else if getkeystate("vk1c", "p") and getkeystate("lctrl", "p")
  324. send ^{end}
  325. else if getkeystate("vk1c", "p") and getkeystate("lshift", "p")
  326. send +{end}
  327. else if getkeystate("vk1c", "p")
  328. send {end}
  329. else if getkeystate("lwin", "p") and getkeystate("lctrl", "p")
  330. send #^{right}
  331. else if getkeystate("lwin", "p")
  332. send #{right}
  333. else if getkeystate("lshift", "p") and getkeystate("lalt", "p")
  334. send +!{right}
  335. else if getkeystate("lshift", "p") and getkeystate("lctrl", "p")
  336. send +^{right}
  337. else if getkeystate("lalt", "p")
  338. send !{right}
  339. else if getkeystate("lctrl", "p")
  340. send ^{right}
  341. else if getkeystate("lshift", "p")
  342. send +{right}
  343. else
  344. send {right}
  345. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement