(3)湛泸剑之QQ轰炸机

AutoHotkey系列教程 中级教程(六节三十六课) 第一小节:站在巨人的肩膀上 第三课:湛泸剑

  1. ; This script was created using Pulover's Macro Creator
  2. #NoEnv
  3. SetWorkingDir %A_ScriptDir%
  4. CoordMode, Mouse, Window
  5. SendMode Input
  6. #SingleInstance Force
  7. SetTitleMatchMode 2
  8. DetectHiddenWindows On
  9. #WinActivateForce
  10. SetControlDelay 1
  11. SetWinDelay 0
  12. SetKeyDelay -1
  13. SetMouseDelay -1
  14. SetBatchLines -1
  15. #IfWinActive, ahk_class CabinetWClass
  16. Macro1:
  17. IfWinExist, QQ
  18. {
  19. IfWinExist, AutoAHK
  20. {
  21. WinActivate, AutoAHK
  22. Sleep, 333
  23. SetKeyDelay, 0
  24. SendRaw,
  25. (LTrim
  26. 窗前明月光,
  27. 疑是地上霜;
  28. 举头望明月,
  29. 低头思故乡。
  30. )
  31. SetKeyDelay, 100
  32. SendEvent, {enter}
  33. Sleep, 100
  34. }
  35. Else
  36. {
  37. WinActivate, QQ
  38. Sleep, 333
  39. SetKeyDelay, 0
  40. SendRaw, autoahk
  41. SetKeyDelay, 100
  42. SendEvent, {enter}
  43. Sleep, 100
  44. SetKeyDelay, 100
  45. SendEvent, {enter}
  46. Sleep, 100
  47. SetKeyDelay, 100
  48. SendEvent, {enter}
  49. Sleep, 100
  50. SetKeyDelay, 0
  51. SendRaw,
  52. (LTrim
  53. 窗前明月光,
  54. 疑是地上霜;
  55. 举头望明月,
  56. 低头思故乡。
  57. )
  58. SetKeyDelay, 100
  59. SendEvent, {enter}
  60. Sleep, 100
  61. }
  62. }
  63. Else
  64. {
  65. MsgBox, 0, , 你好,你的QQ未运行,请运行QQ
  66. }
  67. Return
  68. #IfWinActive
  69. ; This script was created using Pulover's Macro Creator
  70. #NoEnv
  71. SetWorkingDir %A_ScriptDir%
  72. CoordMode, Mouse, Window
  73. SendMode Input
  74. #SingleInstance Force
  75. SetTitleMatchMode 2
  76. DetectHiddenWindows On
  77. #WinActivateForce
  78. SetControlDelay 1
  79. SetWinDelay 0
  80. SetKeyDelay -1
  81. SetMouseDelay -1
  82. SetBatchLines -1
  83. ^d::
  84. #IfWinActive, ahk_class CabinetWClass
  85. Macro1:
  86. WinActivate, ahk_class TForm
  87. Sleep, 333
  88. WinActivate, Program Manager ahk_class Progman
  89. Sleep, 333
  90. Sleep, 3047
  91. Click, 1373, 346, 0
  92. Click, 1373, 347, 0
  93. Sleep, 16
  94. Click, 1373, 349, 0
  95. Sleep, 31
  96. Click, 1372, 359, 0
  97. Sleep, 16
  98. Click, 1372, 360, 0
  99. Click, 1371, 362, 0
  100. Sleep, 15
  101. Click, 1370, 365, 0
  102. Click, 1369, 367, 0
  103. Click, 1368, 368, 0
  104. Sleep, 16
  105. Click, 1367, 370, 0
  106. Sleep, 15
  107. Click, 1367, 371, 0
  108. Click, 1367, 372, 0
  109. Sleep, 16
  110. Click, 1365, 375, 0
  111. Sleep, 16
  112. Click, 1364, 375, 0
  113. Click, 1364, 376, 0
  114. Click, 1364, 377, 0
  115. Sleep, 31
  116. Click, 1363, 377, 0
  117. Sleep, 141
  118. Click, 1363, 378, 0
  119. Sleep, 12937
  120. Click, 1363, 378 Right, Down
  121. Sleep, 203
  122. Click, 1363, 378 Right, Up
  123. Sleep, 1594
  124. Click, 1364, 380, 0
  125. Click, 1364, 382, 0
  126. Sleep, 16
  127. Click, 1366, 386, 0
  128. Click, 1367, 388, 0
  129. Sleep, 31
  130. Click, 1368, 391, 0
  131. Click, 1370, 395, 0
  132. Click, 1370, 397, 0
  133. Sleep, 15
  134. Click, 1371, 400, 0
  135. Click, 1371, 401, 0
  136. Sleep, 32
  137. Click, 1373, 407, 0
  138. Click, 1374, 409, 0
  139. Sleep, 15
  140. Click, 1375, 411, 0
  141. Sleep, 78
  142. Click, 1384, 437, 0
  143. Sleep, 16
  144. Click, 1385, 440, 0
  145. Click, 1386, 443, 0
  146. Click, 1387, 447, 0
  147. Sleep, 16
  148. Click, 1388, 451, 0
  149. Click, 1389, 453, 0
  150. Sleep, 31
  151. Click, 1391, 460, 0
  152. Click, 1392, 464, 0
  153. Sleep, 16
  154. Click, 1395, 471, 0
  155. Sleep, 15
  156. Click, 1397, 475, 0
  157. Click, 1399, 482, 0
  158. Sleep, 16
  159. Click, 1400, 486, 0
  160. Sleep, 15
  161. Click, 1403, 497, 0
  162. Click, 1404, 503, 0
  163. Sleep, 32
  164. Click, 1406, 517, 0
  165. Click, 1407, 524, 0
  166. Click, 1408, 529, 0
  167. Sleep, 15
  168. Click, 1409, 536, 0
  169. Sleep, 16
  170. Click, 1411, 543, 0
  171. Click, 1413, 559, 0
  172. Sleep, 16
  173. Click, 1414, 566, 0
  174. Sleep, 15
  175. Click, 1417, 574, 0
  176. Sleep, 16
  177. Click, 1421, 589, 0
  178. Click, 1423, 597, 0
  179. Sleep, 47
  180. Click, 1430, 631, 0
  181. Click, 1431, 638, 0
  182. Sleep, 15
  183. Click, 1431, 640, 0
  184. Sleep, 16
  185. Click, 1431, 646, 0
  186. Sleep, 16
  187. Click, 1432, 652, 0
  188. Sleep, 15
  189. Click, 1433, 656, 0
  190. Sleep, 16
  191. Click, 1433, 658, 0
  192. Sleep, 15
  193. Click, 1433, 659, 0
  194. Click, 1433, 661, 0
  195. Sleep, 16
  196. Click, 1433, 662, 0
  197. Sleep, 16
  198. Click, 1433, 664, 0
  199. Sleep, 31
  200. Click, 1433, 665, 0
  201. Sleep, 16
  202. Click, 1433, 666, 0
  203. Sleep, 171
  204. Click, 1433, 667, 0
  205. Sleep, 16
  206. Click, 1433, 669, 0
  207. Sleep, 31
  208. Click, 1433, 671, 0
  209. Sleep, 16
  210. Click, 1433, 673, 0
  211. Sleep, 16
  212. Click, 1433, 676, 0
  213. Sleep, 15
  214. Click, 1435, 679, 0
  215. Sleep, 266
  216. Click, 1429, 681, 0
  217. Sleep, 31
  218. Click, 1421, 681, 0
  219. Sleep, 31
  220. Click, 1407, 679, 0
  221. Sleep, 16
  222. Click, 1398, 677, 0
  223. Sleep, 16
  224. Click, 1394, 676, 0
  225. Click, 1388, 674, 0
  226. Sleep, 15
  227. Click, 1380, 672, 0
  228. Sleep, 16
  229. Click, 1370, 670, 0
  230. Sleep, 15
  231. Click, 1367, 669, 0
  232. Click, 1365, 669, 0
  233. Sleep, 16
  234. Click, 1359, 667, 0
  235. Sleep, 16
  236. Click, 1357, 667, 0
  237. Sleep, 15
  238. Click, 1355, 667, 0
  239. Sleep, 32
  240. Click, 1353, 667, 0
  241. Sleep, 15
  242. Click, 1351, 666, 0
  243. Sleep, 16
  244. Click, 1350, 665, 0
  245. Sleep, 15
  246. Click, 1349, 665, 0
  247. Sleep, 16
  248. Click, 1348, 664, 0
  249. Sleep, 16
  250. Click, 1347, 664, 0
  251. Sleep, 15
  252. Click, 1345, 663, 0
  253. Sleep, 16
  254. Click, 1345, 662, 0
  255. Click, 1344, 662, 0
  256. Sleep, 16
  257. Click, 1342, 660, 0
  258. Sleep, 15
  259. Click, 1337, 658, 0
  260. Sleep, 16
  261. Click, 1331, 655, 0
  262. Sleep, 15
  263. Click, 1329, 652, 0
  264. Sleep, 16
  265. Click, 1326, 649, 0
  266. Click, 1321, 646, 0
  267. Sleep, 31
  268. Click, 1308, 625, 0
  269. Sleep, 16
  270. Click, 1299, 611, 0
  271. Sleep, 16
  272. Click, 1285, 584, 0
  273. Sleep, 15
  274. Click, 1280, 573, 0
  275. Sleep, 16
  276. Click, 1263, 550, 0
  277. Click, 1255, 537, 0
  278. Sleep, 31
  279. Click, 1235, 499, 0
  280. Sleep, 16
  281. Click, 1224, 474, 0
  282. Click, 1218, 462, 0
  283. Sleep, 15
  284. Click, 1204, 432, 0
  285. Sleep, 32
  286. Click, 1199, 416, 0
  287. Click, 1198, 407, 0
  288. Sleep, 15
  289. Click, 1197, 400, 0
  290. Sleep, 16
  291. Click, 1194, 390, 0
  292. Sleep, 15
  293. Click, 1193, 387, 0
  294. Click, 1191, 384, 0
  295. Sleep, 16
  296. Click, 1190, 383, 0
  297. Sleep, 16
  298. Click, 1190, 381, 0
  299. Click, 1190, 380, 0
  300. Sleep, 15
  301. Click, 1189, 377, 0
  302. Sleep, 16
  303. Click, 1187, 368, 0
  304. Sleep, 16
  305. Click, 1184, 361, 0
  306. Sleep, 31
  307. Click, 1182, 354, 0
  308. Click, 1181, 352, 0
  309. Sleep, 15
  310. Click, 1180, 345, 0
  311. Sleep, 16
  312. Click, 1176, 335, 0
  313. Sleep, 31
  314. Click, 1173, 329, 0
  315. Click, 1172, 326, 0
  316. Sleep, 16
  317. Click, 1171, 323, 0
  318. Click, 1170, 322, 0
  319. Sleep, 47
  320. Click, 1168, 312, 0
  321. Sleep, 31
  322. Click, 1166, 305, 0
  323. Sleep, 16
  324. Click, 1165, 298, 0
  325. Sleep, 31
  326. Click, 1165, 292, 0
  327. Click, 1164, 290, 0
  328. Sleep, 62
  329. Click, 1164, 282, 0
  330. Sleep, 16
  331. Click, 1164, 280, 0
  332. Sleep, 16
  333. Click, 1164, 278, 0
  334. Sleep, 15
  335. Click, 1164, 277, 0
  336. Click, 1164, 276, 0
  337. Sleep, 16
  338. Click, 1164, 275, 0
  339. Sleep, 16
  340. Click, 1164, 273, 0
  341. Sleep, 31
  342. Click, 1164, 272, 0
  343. Sleep, 15
  344. Click, 1164, 270, 0
  345. Sleep, 16
  346. Click, 1164, 268, 0
  347. Sleep, 16
  348. Click, 1165, 266, 0
  349. Sleep, 31
  350. Click, 1165, 264, 0
  351. Sleep, 31
  352. Click, 1165, 263, 0
  353. Click, 1165, 261, 0
  354. Sleep, 16
  355. Click, 1165, 260, 0
  356. Sleep, 31
  357. Click, 1166, 260, 0
  358. Sleep, 16
  359. Click, 1166, 259, 0
  360. Sleep, 234
  361. Click, 1166, 258, 0
  362. Sleep, 16
  363. Click, 1166, 256, 0
  364. Sleep, 31
  365. Click, 1165, 255, 0
  366. Sleep, 16
  367. Click, 1165, 253, 0
  368. Sleep, 31
  369. Click, 1165, 251, 0
  370. Sleep, 219
  371. Click, 1165, 251 Left, Down
  372. Sleep, 156
  373. Click, 1165, 251 Left, Up
  374. Sleep, 297
  375. Click, 1168, 256, 0
  376. Sleep, 15
  377. Click, 1171, 259, 0
  378. Click, 1172, 260, 0
  379. Sleep, 32
  380. Click, 1178, 264, 0
  381. Sleep, 31
  382. Click, 1193, 284, 0
  383. Sleep, 15
  384. Click, 1198, 289, 0
  385. Click, 1201, 293, 0
  386. Sleep, 16
  387. Click, 1209, 308, 0
  388. Sleep, 31
  389. Click, 1218, 326, 0
  390. Click, 1222, 338, 0
  391. Sleep, 16
  392. Click, 1239, 371, 0
  393. Sleep, 31
  394. Click, 1250, 391, 0
  395. Click, 1256, 402, 0
  396. Click, 1263, 412, 0
  397. Sleep, 16
  398. Click, 1270, 423, 0
  399. Click, 1278, 434, 0
  400. Sleep, 31
  401. Click, 1302, 462, 0
  402. Click, 1308, 470, 0
  403. Sleep, 31
  404. Click, 1324, 492, 0
  405. Sleep, 16
  406. Click, 1329, 497, 0
  407. Click, 1334, 501, 0
  408. Click, 1338, 505, 0
  409. Sleep, 16
  410. Click, 1344, 513, 0
  411. Sleep, 31
  412. Click, 1350, 520, 0
  413. Sleep, 15
  414. Click, 1351, 521, 0
  415. Sleep, 16
  416. Click, 1352, 522, 0
  417. Click, 1353, 522, 0
  418. Sleep, 16
  419. Click, 1353, 523, 0
  420. Sleep, 31
  421. Click, 1354, 524, 0
  422. Sleep, 109
  423. Click, 1355, 524, 0
  424. Sleep, 32
  425. Click, 1358, 527, 0
  426. Sleep, 15
  427. Click, 1360, 529, 0
  428. Sleep, 31
  429. Click, 1361, 530, 0
  430. Sleep, 188
  431. Click, 1361, 531, 0
  432. Sleep, 828
  433. Send, {c}
  434. Sleep, 234
  435. Send, {e}
  436. Sleep, 219
  437. Send, {s}
  438. Sleep, 78
  439. Send, {h}
  440. Sleep, 94
  441. Send, {i}
  442. Sleep, 391
  443. Send, {Space}
  444. Sleep, 984
  445. Send, {Enter}
  446. Return
  447. #IfWinActive
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
教程

(2)轩辕剑之Scite操作示例

2016-8-9 11:17:08

其他教程

(4)赤霄剑之Gui控制的添加

2016-8-9 11:21:10

3 条回复 A文章作者 M管理员
欢迎您,新朋友,感谢参与互动!
  1. 赶紧讲讲模块化吧,相同的代码复制两遍,我一个外行都受不了啦!

  2. brad

    您暂时无权查看此隐藏内容!………

  3. 1111333

    点歌赞

个人中心
购物车
优惠劵
私信列表
搜索