Advertisement
Guest User

debug help

a guest
Nov 28th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Warn
  2. #NoEnv
  3. #SingleInstance Force
  4. #MaxHotkeysPerInterval 200
  5. #Warn
  6. #NoEnv
  7.  
  8.  
  9. global WM_USER               := 0x00000400
  10. global PBM_SETMARQUEE        := WM_USER + 10
  11. global PBM_SETSTATE          := WM_USER + 16
  12. global PBS_MARQUEE           := 0x00000008
  13. global PBS_SMOOTH            := 0x00000001
  14. global PBS_VERTICAL          := 0x00000004
  15. global PBST_NORMAL           := 0x00000001
  16. global PBST_ERROR            := 0x00000002
  17. global PBST_PAUSE            := 0x00000002
  18. global STAP_ALLOW_NONCLIENT  := 0x00000001
  19. global STAP_ALLOW_CONTROLS   := 0x00000002
  20. global STAP_ALLOW_WEBCONTENT := 0x00000004
  21. global WM_THEMECHANGED       := 0x0000031A
  22.  
  23. ;PAUSE DEFAULT = 0x00000003
  24.  
  25. ;colume 1 colume 2 colume 3  for x only [For y just add 20]
  26. ;0        160      290
  27. ;35       170      300
  28.  
  29. Gui, Show, x500 y150 h190 w400, Button Press Data
  30. Gui, Add, Text, x0 y0 w1 ,Space ;Space
  31. Gui, Add, Progress, x35 y0 w100 h15  hwndPROY -%PBS_SMOOTH% vSpace1, 0                             ;Space
  32. DllCall("User32.dll\SendMessage", "Ptr", PROY, "Int", PBM_SETSTATE, "Ptr", PBST_PAUSE, "Ptr", 0)
  33.  
  34. Gui, Add, Text, x160 y0 w1 ,A
  35. Gui, Add, Progress, x170 y0 w100 h15 -%PBS_SMOOTH% vA1, 0   ;A
  36.  
  37. Gui, Add, Text, x290 y0 w1 ,B
  38. Gui, Add, Progress, x300 y0 w100 h15 -%PBS_SMOOTH% vB1, 0   ;B
  39.  
  40. Gui, Add, Text, x0 y20 w1 ,C
  41. Gui, Add, Progress, x35 y20 w100 h15 -%PBS_SMOOTH% vC1, 0   ;C
  42.  
  43.  
  44. Gui, Add, Text, x160 y20 w1 ,D
  45. Gui, Add, Progress, x170 y20 w100 h15 -%PBS_SMOOTH% vD1, 0   ;D
  46.  
  47. Gui, Add, Text, x290 y20 w1 ,E
  48. Gui, Add, Progress, x300 y20 w100 h15 -%PBS_SMOOTH% vE1, 0   ;E
  49.  
  50. Gui, Add, Text, x0 y40 w1 ,F
  51. Gui, Add, Progress, x35 y40 w100 h15 -%PBS_SMOOTH% vF1, 0   ;F
  52.  
  53. Gui, Add, Text, x160 y40 w1 ,G
  54. Gui, Add, Progress, x170 y40 w100 h15 -%PBS_SMOOTH% vG1, 0   ;G
  55.  
  56. Gui, Add, Text, x290 y40 w1 ,H
  57. Gui, Add, Progress, x300 y40 w100 h15 -%PBS_SMOOTH% vH1, 0   ;H
  58.  
  59. Gui, Add, Text, x0 y60 w1 ,I
  60. Gui, Add, Progress, x35 y60 w100 h15 -%PBS_SMOOTH% vI1, 0   ;I
  61.  
  62. Gui, Add, Text, x160 y60 w1 ,J
  63. Gui, Add, Progress, x170 y60 w100 h15 -%PBS_SMOOTH% vJ1, 0   ;J
  64.  
  65. Gui, Add, Text, x290 y60 w1 ,K
  66. Gui, Add, Progress, x300 y60 w100 h15 -%PBS_SMOOTH% vK1, 0   ;K
  67.  
  68. Gui, Add, Text, x0 y80 w1 ,L
  69. Gui, Add, Progress, x35 y80 w100 h15 -%PBS_SMOOTH% vL1, 0   ;L
  70.  
  71. Gui, Add, Text, x160 y80 w1 ,M
  72. Gui, Add, Progress, x170 y80 w100 h15 -%PBS_SMOOTH% vM1, 0   ;M
  73.  
  74. Gui, Add, Text, x290 y80 w1 ,N
  75. Gui, Add, Progress, x300 y80 w100 h15 -%PBS_SMOOTH% vN1, 0   ;N
  76.  
  77. Gui, Add, Text, x0 y100 w1 ,O
  78. Gui, Add, Progress, x35 y100 w100 h15 -%PBS_SMOOTH% vO1, 0   ;O
  79.  
  80. Gui, Add, Text, x160 y100 w1 ,P
  81. Gui, Add, Progress, x170 y100 w100 h15 -%PBS_SMOOTH% vP1, 0   ;P
  82.  
  83. Gui, Add, Text, x290 y100 w1 ,Q
  84. Gui, Add, Progress, x300 y100 w100 h15 -%PBS_SMOOTH% vQ1, 0   ;Q
  85.  
  86. Gui, Add, Text, x0 y120 w1 ,R
  87. Gui, Add, Progress, x35 y120 w100 h15 -%PBS_SMOOTH% vR1, 0   ;R
  88.  
  89. Gui, Add, Text, x160 y120 w1 ,S
  90. Gui, Add, Progress, x170 y120 w100 h15 -%PBS_SMOOTH% vS1, 0   ;S
  91.  
  92. Gui, Add, Text, x290 y120 w1 ,T
  93. Gui, Add, Progress, x300 y120 w100 h15 -%PBS_SMOOTH% vT1, 0   ;T
  94.  
  95. Gui, Add, Text, x0 y140 w1 ,U
  96. Gui, Add, Progress, x35 y140 w100 h15 -%PBS_SMOOTH% vU1, 0   ;U
  97.  
  98. Gui, Add, Text, x160 y140 w1 ,V
  99. Gui, Add, Progress, x170 y140 w100 h15 -%PBS_SMOOTH% vV1, 0   ;V
  100.  
  101. Gui, Add, Text, x288 y140 w1 ,W
  102. Gui, Add, Progress, x300 y140 w100 h15 -%PBS_SMOOTH% vW1, 0   ;W
  103.  
  104. Gui, Add, Text, x0 y160 w1 ,X
  105. Gui, Add, Progress, x35 y160 w100 h15 -%PBS_SMOOTH% vX1, 0   ;X
  106.  
  107. Gui, Add, Text, x160 y160 w1 ,Y
  108. Gui, Add, Progress, x170 y160 w100 h15 -%PBS_SMOOTH% vY1, 0   ;Z
  109.  
  110. Gui, Add, Text, x290 y160 w1 ,Z
  111. Gui, Add, Progress, x300 y160 w100 h15 -%PBS_SMOOTH% vZ1 Range0-100 , 0
  112.  
  113. Gui, pw:Add, Edit, vpw1 w100, Password
  114. Gui, pw:Add, Button, vpw11 gpwe ,Enter
  115. Gui, debug:Add, Button,y8 x10 vrl grel ,Reload
  116. Gui, debug:Add, Button,y8 x60 vsp gsus ,Suspend
  117. Gui, debug:Add, Button,y8 x118 vps gpau ,Pause
  118. Gui, debug:Add, Button,y8 x164 vinfo ginf ,Info
  119. Gui, debug:Add, Button,y8 x198 vrese greset ,Reset
  120. return
  121.  
  122.  
  123. ;colume 1 colume 2 colume 3  for x only [For y just add 20]
  124. ;0        160      290
  125. ;35       170      300
  126.  
  127.  
  128. Home::
  129. Gui, pw:show,, Password
  130. return
  131.  
  132. pwe:
  133. Gui, pw:submit, hide
  134. if(pw1 = "Kryston")
  135. {
  136. Gui, debug:show,, Debug Menu
  137. }
  138. else
  139. {
  140. SoundPlay, *16
  141. }
  142. return
  143.  
  144. rel:
  145. reload
  146. return
  147.  
  148. sus:
  149. Suspend, Toggle
  150. return
  151.  
  152. pau:
  153. Pause, Toggle
  154. return
  155.  
  156. inf:
  157. SoundPlay, *16
  158. MsgBox , 16, Message, Sorry but your script is already compiled and isnt able to debug much
  159. return
  160.  
  161. reset:
  162. GuiControl,, Space1, -1
  163. GuiControl,, A1, -1
  164. GuiControl,, B1, -1
  165. GuiControl,, C1, -1
  166. GuiControl,, D1, -1
  167. GuiControl,, E1, -1
  168. GuiControl,, F1, -1
  169. GuiControl,, G1, -1
  170. GuiControl,, H1, -1
  171. GuiControl,, I1, -1
  172. GuiControl,, J1, -1
  173. GuiControl,, K1, -1
  174. GuiControl,, L1, -1
  175. GuiControl,, M1, -1
  176. GuiControl,, N1, -1
  177. GuiControl,, O1, -1
  178. GuiControl,, P1, -1
  179. GuiControl,, Q1, -1
  180. GuiControl,, R1, -1
  181. GuiControl,, S1, -1
  182. GuiControl,, T1, -1
  183. GuiControl,, U1, -1
  184. GuiControl,, V1, -1
  185. GuiControl,, W1, -1
  186. GuiControl,, X1, -1
  187. GuiControl,, Y1, -1
  188. GuiControl,, Z1, -1
  189. return
  190.  
  191.  
  192.  
  193.  
  194.  
  195. ^!AppsKey::
  196. {
  197. Reload
  198. }
  199.  
  200.  
  201.  
  202. ~Space::
  203. {
  204. GuiControl,, Space1, +1  ; Increase the current position by 1.
  205. sleep 1
  206. return
  207. }
  208.  
  209.  
  210. ~A::
  211. {
  212. GuiControl,, A1, +1  ; Increase the current position by 1.
  213. sleep 1
  214. return
  215. }
  216.  
  217. ~B::
  218. {
  219. GuiControl,, B1, +1  ; Increase the current position by 1.
  220. sleep 1
  221. return
  222. }
  223.  
  224. ~C::
  225. {
  226. GuiControl,, C1, +1  ; Increase the current position by 1.
  227. sleep 1
  228. return
  229. }
  230.  
  231. ~D::
  232. {
  233. GuiControl,, D1, +1  ; Increase the current position by 1.
  234. sleep 1
  235. return
  236. }
  237.  
  238. ~E::
  239. {
  240. GuiControl,, E1, +1  ; Increase the current position by 1.
  241. sleep 1
  242. return
  243. }
  244.  
  245. ~F::
  246. {
  247. GuiControl,, F1, +1  ; Increase the current position by 1.
  248. sleep 1
  249. return
  250. }
  251.  
  252. ~G::
  253. {
  254. GuiControl,, G1, +1  ; Increase the current position by 1.
  255. sleep 1
  256. return
  257. }
  258.  
  259. ~H::
  260. {
  261. GuiControl,, H1, +1  ; Increase the current position by 1.
  262. sleep 1
  263. return
  264. }
  265.  
  266. ~I::
  267. {
  268. GuiControl,, I1, +1  ; Increase the current position by 1.
  269. sleep 1
  270. return
  271. }
  272.  
  273. ~J::
  274. {
  275. GuiControl,, J1, +1  ; Increase the current position by 1.
  276. sleep 1
  277. return
  278. }
  279.  
  280. ~K::
  281. {
  282. GuiControl,, K1, +1  ; Increase the current position by 1.
  283. sleep 1
  284. return
  285. }
  286.  
  287. ~L::
  288. {
  289. GuiControl,, L1, +1  ; Increase the current position by 1.
  290. sleep 1
  291. return
  292. }
  293.  
  294. ~M::
  295. {
  296. GuiControl,, M1, +1  ; Increase the current position by 1.
  297. sleep 1
  298. return
  299. }
  300.  
  301. ~N::
  302. {
  303. GuiControl,, N1, +1  ; Increase the current position by 1.
  304. sleep 1
  305. return
  306. }
  307.  
  308. ~O::
  309. {
  310. GuiControl,, O1, +1  ; Increase the current position by 1.
  311. sleep 1
  312. return
  313. }
  314.  
  315. ~P::
  316. {
  317. GuiControl,, P1, +1  ; Increase the current position by 1.
  318. sleep 1
  319. return
  320. }
  321.  
  322. ~Q::
  323. {
  324. GuiControl,, Q1, +1  ; Increase the current position by 1.
  325. sleep 1
  326. return
  327. }
  328.  
  329. ~R::
  330. {
  331. GuiControl,, R1, +1  ; Increase the current position by 1.
  332. sleep 1
  333. return
  334. }
  335.  
  336. ~S::
  337. {
  338. GuiControl,, S1, +1  ; Increase the current position by 1.
  339. sleep 1
  340. return
  341. }
  342.  
  343. ~T::
  344. {
  345. GuiControl,, T1, +1  ; Increase the current position by 1.
  346. sleep 1
  347. return
  348. }
  349.  
  350. ~U::
  351. {
  352. GuiControl,, U1, +1  ; Increase the current position by 1.
  353. sleep 1
  354. return
  355. }
  356.  
  357. ~V::
  358. {
  359. GuiControl,, V1, +1  ; Increase the current position by 1.
  360. sleep 1
  361. return
  362. }
  363.  
  364. ~W::
  365. {
  366. GuiControl,, W1, +1  ; Increase the current position by 1.
  367. sleep 1
  368. return
  369. }
  370.  
  371. ~X::
  372. {
  373. GuiControl,, X1, +1  ; Increase the current position by 1.
  374. sleep 1
  375. return
  376. }
  377.  
  378. ~Y::
  379. {
  380. GuiControl,, Y1, +1  ; Increase the current position by 1.
  381. sleep 1
  382. return
  383. }
  384.  
  385. ~Z::
  386. {
  387. GuiControl,, Z1, +1  ; Increase the current position by 1.
  388. sleep 1
  389. return
  390. }
  391.  
  392. ~LButton::
  393. {
  394. GuiControl,, Lclick1, +1  ; Increase the current position by 1.
  395. sleep 1
  396. return
  397. }
  398.  
  399.  
  400.  
  401.  
  402.  
  403. GuiClose:
  404. MsgBox, 4,Exit ,Are you sure you want to exit?
  405. IfMsgBox, Yes, ExitApp
  406. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement