daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Jun 30th, 2018 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. i»?#Region
  2. #AutoIt3Wrapper_icon=GFX\Ikona.ico
  3. #endregion
  4. Global Const $ES_LEFT = 0
  5. Global Const $ES_CENTER = 1
  6. Global Const $ES_RIGHT = 2
  7. Global Const $ES_MULTILINE = 4
  8. Global Const $ES_UPPERCASE = 8
  9. Global Const $ES_LOWERCASE = 16
  10. Global Const $ES_PASSWORD = 32
  11. Global Const $ES_AUTOVSCROLL = 64
  12. Global Const $ES_AUTOHSCROLL = 128
  13. Global Const $ES_NOHIDESEL = 256
  14. Global Const $ES_OEMCONVERT = 1024
  15. Global Const $ES_READONLY = 2048
  16. Global Const $ES_WANTRETURN = 4096
  17. Global Const $ES_NUMBER = 8192
  18. Global Const $EC_ERR = -1
  19. Global Const $ECM_FIRST = 5376
  20. Global Const $EM_CANUNDO = 198
  21. Global Const $EM_CHARFROMPOS = 215
  22. Global Const $EM_EMPTYUNDOBUFFER = 205
  23. Global Const $EM_FMTLINES = 200
  24. Global Const $EM_GETCUEBANNER = ($ECM_FIRST + 2)
  25. Global Const $EM_GETFIRSTVISIBLELINE = 206
  26. Global Const $EM_GETHANDLE = 189
  27. Global Const $EM_GETIMESTATUS = 217
  28. Global Const $EM_GETLIMITTEXT = 213
  29. Global Const $EM_GETLINE = 196
  30. Global Const $EM_GETLINECOUNT = 186
  31. Global Const $EM_GETMARGINS = 212
  32. Global Const $EM_GETMODIFY = 184
  33. Global Const $EM_GETPASSWORDCHAR = 210
  34. Global Const $EM_GETRECT = 178
  35. Global Const $EM_GETSEL = 176
  36. Global Const $EM_GETTHUMB = 190
  37. Global Const $EM_GETWORDBREAKPROC = 209
  38. Global Const $EM_HIDEBALLOONTIP = ($ECM_FIRST + 4)
  39. Global Const $EM_LIMITTEXT = 197
  40. Global Const $EM_LINEFROMCHAR = 201
  41. Global Const $EM_LINEINDEX = 187
  42. Global Const $EM_LINELENGTH = 193
  43. Global Const $EM_LINESCROLL = 182
  44. Global Const $EM_POSFROMCHAR = 214
  45. Global Const $EM_REPLACESEL = 194
  46. Global Const $EM_SCROLL = 181
  47. Global Const $EM_SCROLLCARET = 183
  48. Global Const $EM_SETCUEBANNER = ($ECM_FIRST + 1)
  49. Global Const $EM_SETHANDLE = 188
  50. Global Const $EM_SETIMESTATUS = 216
  51. Global Const $EM_SETLIMITTEXT = $EM_LIMITTEXT
  52. Global Const $EM_SETMARGINS = 211
  53. Global Const $EM_SETMODIFY = 185
  54. Global Const $EM_SETPASSWORDCHAR = 204
  55. Global Const $EM_SETREADONLY = 207
  56. Global Const $EM_SETRECT = 179
  57. Global Const $EM_SETRECTNP = 180
  58. Global Const $EM_SETSEL = 177
  59. Global Const $EM_SETTABSTOPS = 203
  60. Global Const $EM_SETWORDBREAKPROC = 208
  61. Global Const $EM_SHOWBALLOONTIP = ($ECM_FIRST + 3)
  62. Global Const $EM_UNDO = 199
  63. Global Const $EC_LEFTMARGIN = 1
  64. Global Const $EC_RIGHTMARGIN = 2
  65. Global Const $EC_USEFONTINFO = 65535
  66. Global Const $EMSIS_COMPOSITIONSTRING = 1
  67. Global Const $EIMES_GETCOMPSTRATONCE = 1
  68. Global Const $EIMES_CANCELCOMPSTRINFOCUS = 2
  69. Global Const $EIMES_COMPLETECOMPSTRKILLFOCUS = 4
  70. Global Const $EN_ALIGN_LTR_EC = 1792
  71. Global Const $EN_ALIGN_RTL_EC = 1793
  72. Global Const $EN_CHANGE = 768
  73. Global Const $EN_ERRSPACE = 1280
  74. Global Const $EN_HSCROLL = 1537
  75. Global Const $EN_KILLFOCUS = 512
  76. Global Const $EN_MAXTEXT = 1281
  77. Global Const $EN_SETFOCUS = 256
  78. Global Const $EN_UPDATE = 1024
  79. Global Const $EN_VSCROLL = 1538
  80. Global Const $TTI_NONE = 0
  81. Global Const $TTI_INFO = 1
  82. Global Const $TTI_WARNING = 2
  83. Global Const $TTI_ERROR = 3
  84. Global Const $TTI_INFO_LARGE = 4
  85. Global Const $TTI_WARNING_LARGE = 5
  86. Global Const $TTI_ERROR_LARGE = 6
  87. Global Const $__EDITCONSTANT_WS_VSCROLL = 2097152
  88. Global Const $__EDITCONSTANT_WS_HSCROLL = 1048576
  89. Global Const $GUI_SS_DEFAULT_EDIT = BitOR($ES_WANTRETURN, $__EDITCONSTANT_WS_VSCROLL, $__EDITCONSTANT_WS_HSCROLL, $ES_AUTOVSCROLL, $ES_AUTOHSCROLL)
  90. Global Const $GUI_SS_DEFAULT_INPUT = BitOR($ES_LEFT, $ES_AUTOHSCROLL)
  91. Global Const $GUI_EVENT_CLOSE = -3
  92. Global Const $GUI_EVENT_MINIMIZE = -4
  93. Global Const $GUI_EVENT_RESTORE = -5
  94. Global Const $GUI_EVENT_MAXIMIZE = -6
  95. Global Const $GUI_EVENT_PRIMARYDOWN = -7
  96. Global Const $GUI_EVENT_PRIMARYUP = -8
  97. Global Const $GUI_EVENT_SECONDARYDOWN = -9
  98. Global Const $GUI_EVENT_SECONDARYUP = -10
  99. Global Const $GUI_EVENT_MOUSEMOVE = -11
  100. Global Const $GUI_EVENT_RESIZED = -12
  101. Global Const $GUI_EVENT_DROPPED = -13
  102. Global Const $GUI_RUNDEFMSG = "GUI_RUNDEFMSG"
  103. Global Const $GUI_AVISTOP = 0
  104. Global Const $GUI_AVISTART = 1
  105. Global Const $GUI_AVICLOSE = 2
  106. Global Const $GUI_CHECKED = 1
  107. Global Const $GUI_INDETERMINATE = 2
  108. Global Const $GUI_UNCHECKED = 4
  109. Global Const $GUI_DROPACCEPTED = 8
  110. Global Const $GUI_NODROPACCEPTED = 4096
  111. Global Const $GUI_ACCEPTFILES = $GUI_DROPACCEPTED
  112. Global Const $GUI_SHOW = 16
  113. Global Const $GUI_HIDE = 32
  114. Global Const $GUI_ENABLE = 64
  115. Global Const $GUI_DISABLE = 128
  116. Global Const $GUI_FOCUS = 256
  117. Global Const $GUI_NOFOCUS = 8192
  118. Global Const $GUI_DEFBUTTON = 512
  119. Global Const $GUI_EXPAND = 1024
  120. Global Const $GUI_ONTOP = 2048
  121. Global Const $GUI_FONTITALIC = 2
  122. Global Const $GUI_FONTUNDER = 4
  123. Global Const $GUI_FONTSTRIKE = 8
  124. Global Const $GUI_DOCKAUTO = 1
  125. Global Const $GUI_DOCKLEFT = 2
  126. Global Const $GUI_DOCKRIGHT = 4
  127. Global Const $GUI_DOCKHCENTER = 8
  128. Global Const $GUI_DOCKTOP = 32
  129. Global Const $GUI_DOCKBOTTOM = 64
  130. Global Const $GUI_DOCKVCENTER = 128
  131. Global Const $GUI_DOCKWIDTH = 256
  132. Global Const $GUI_DOCKHEIGHT = 512
  133. Global Const $GUI_DOCKSIZE = 768
  134. Global Const $GUI_DOCKMENUBAR = 544
  135. Global Const $GUI_DOCKSTATEBAR = 576
  136. Global Const $GUI_DOCKALL = 802
  137. Global Const $GUI_DOCKBORDERS = 102
  138. Global Const $GUI_GR_CLOSE = 1
  139. Global Const $GUI_GR_LINE = 2
  140. Global Const $GUI_GR_BEZIER = 4
  141. Global Const $GUI_GR_MOVE = 6
  142. Global Const $GUI_GR_COLOR = 8
  143. Global Const $GUI_GR_RECT = 10
  144. Global Const $GUI_GR_ELLIPSE = 12
  145. Global Const $GUI_GR_PIE = 14
  146. Global Const $GUI_GR_DOT = 16
  147. Global Const $GUI_GR_PIXEL = 18
  148. Global Const $GUI_GR_HINT = 20
  149. Global Const $GUI_GR_REFRESH = 22
  150. Global Const $GUI_GR_PENSIZE = 24
  151. Global Const $GUI_GR_NOBKCOLOR = -2
  152. Global Const $GUI_BKCOLOR_DEFAULT = -1
  153. Global Const $GUI_BKCOLOR_TRANSPARENT = -2
  154. Global Const $GUI_BKCOLOR_LV_ALTERNATE = -33554432
  155. Global Const $GUI_WS_EX_PARENTDRAG = 1048576
  156. Global Const $SS_LEFT = 0
  157. Global Const $SS_CENTER = 1
  158. Global Const $SS_RIGHT = 2
  159. Global Const $SS_ICON = 3
  160. Global Const $SS_BLACKRECT = 4
  161. Global Const $SS_GRAYRECT = 5
  162. Global Const $SS_WHITERECT = 6
  163. Global Const $SS_BLACKFRAME = 7
  164. Global Const $SS_GRAYFRAME = 8
  165. Global Const $SS_WHITEFRAME = 9
  166. Global Const $SS_SIMPLE = 11
  167. Global Const $SS_LEFTNOWORDWRAP = 12
  168. Global Const $SS_BITMAP = 14
  169. Global Const $SS_ETCHEDHORZ = 16
  170. Global Const $SS_ETCHEDVERT = 17
  171. Global Const $SS_ETCHEDFRAME = 18
  172. Global Const $SS_NOPREFIX = 128
  173. Global Const $SS_NOTIFY = 256
  174. Global Const $SS_CENTERIMAGE = 512
  175. Global Const $SS_RIGHTJUST = 1024
  176. Global Const $SS_SUNKEN = 4096
  177. Global Const $GUI_SS_DEFAULT_LABEL = 0
  178. Global Const $GUI_SS_DEFAULT_GRAPHIC = 0
  179. Global Const $GUI_SS_DEFAULT_ICON = $SS_NOTIFY
  180. Global Const $GUI_SS_DEFAULT_PIC = $SS_NOTIFY
  181. Global Const $WS_TILED = 0
  182. Global Const $WS_OVERLAPPED = 0
  183. Global Const $WS_MAXIMIZEBOX = 65536
  184. Global Const $WS_MINIMIZEBOX = 131072
  185. Global Const $WS_TABSTOP = 65536
  186. Global Const $WS_GROUP = 131072
  187. Global Const $WS_SIZEBOX = 262144
  188. Global Const $WS_THICKFRAME = 262144
  189. Global Const $WS_SYSMENU = 524288
  190. Global Const $WS_HSCROLL = 1048576
  191. Global Const $WS_VSCROLL = 2097152
  192. Global Const $WS_DLGFRAME = 4194304
  193. Global Const $WS_BORDER = 8388608
  194. Global Const $WS_CAPTION = 12582912
  195. Global Const $WS_OVERLAPPEDWINDOW = 13565952
  196. Global Const $WS_TILEDWINDOW = 13565952
  197. Global Const $WS_MAXIMIZE = 16777216
  198. Global Const $WS_CLIPCHILDREN = 33554432
  199. Global Const $WS_CLIPSIBLINGS = 67108864
  200. Global Const $WS_DISABLED = 134217728
  201. Global Const $WS_VISIBLE = 268435456
  202. Global Const $WS_MINIMIZE = 536870912
  203. Global Const $WS_CHILD = 1073741824
  204. Global Const $WS_POPUP = -2147483648
  205. Global Const $WS_POPUPWINDOW = -2138570752
  206. Global Const $DS_MODALFRAME = 128
  207. Global Const $DS_SETFOREGROUND = 512
  208. Global Const $DS_CONTEXTHELP = 8192
  209. Global Const $WS_EX_ACCEPTFILES = 16
  210. Global Const $WS_EX_MDICHILD = 64
  211. Global Const $WS_EX_APPWINDOW = 262144
  212. Global Const $WS_EX_COMPOSITED = 33554432
  213. Global Const $WS_EX_CLIENTEDGE = 512
  214. Global Const $WS_EX_CONTEXTHELP = 1024
  215. Global Const $WS_EX_DLGMODALFRAME = 1
  216. Global Const $WS_EX_LEFTSCROLLBAR = 16384
  217. Global Const $WS_EX_OVERLAPPEDWINDOW = 768
  218. Global Const $WS_EX_RIGHT = 4096
  219. Global Const $WS_EX_STATICEDGE = 131072
  220. Global Const $WS_EX_TOOLWINDOW = 128
  221. Global Const $WS_EX_TOPMOST = 8
  222. Global Const $WS_EX_TRANSPARENT = 32
  223. Global Const $WS_EX_WINDOWEDGE = 256
  224. Global Const $WS_EX_LAYERED = 524288
  225. Global Const $WS_EX_CONTROLPARENT = 65536
  226. Global Const $WS_EX_LAYOUTRTL = 4194304
  227. Global Const $WS_EX_RTLREADING = 8192
  228. Global Const $WM_GETTEXTLENGTH = 14
  229. Global Const $WM_GETTEXT = 13
  230. Global Const $WM_SIZE = 5
  231. Global Const $WM_SIZING = 532
  232. Global Const $WM_USER = 1024
  233. Global Const $WM_CREATE = 1
  234. Global Const $WM_DESTROY = 2
  235. Global Const $WM_MOVE = 3
  236. Global Const $WM_ACTIVATE = 6
  237. Global Const $WM_SETFOCUS = 7
  238. Global Const $WM_KILLFOCUS = 8
  239. Global Const $WM_ENABLE = 10
  240. Global Const $WM_SETREDRAW = 11
  241. Global Const $WM_SETTEXT = 12
  242. Global Const $WM_PAINT = 15
  243. Global Const $WM_CLOSE = 16
  244. Global Const $WM_QUIT = 18
  245. Global Const $WM_ERASEBKGND = 20
  246. Global Const $WM_SYSCOLORCHANGE = 21
  247. Global Const $WM_SHOWWINDOW = 24
  248. Global Const $WM_WININICHANGE = 26
  249. Global Const $WM_DEVMODECHANGE = 27
  250. Global Const $WM_ACTIVATEAPP = 28
  251. Global Const $WM_FONTCHANGE = 29
  252. Global Const $WM_TIMECHANGE = 30
  253. Global Const $WM_CANCELMODE = 31
  254. Global Const $WM_SETCURSOR = 32
  255. Global Const $WM_MOUSEACTIVATE = 33
  256. Global Const $WM_CHILDACTIVATE = 34
  257. Global Const $WM_QUEUESYNC = 35
  258. Global Const $WM_GETMINMAXINFO = 36
  259. Global Const $WM_PAINTICON = 38
  260. Global Const $WM_ICONERASEBKGND = 39
  261. Global Const $WM_NEXTDLGCTL = 40
  262. Global Const $WM_SPOOLERSTATUS = 42
  263. Global Const $WM_DRAWITEM = 43
  264. Global Const $WM_MEASUREITEM = 44
  265. Global Const $WM_DELETEITEM = 45
  266. Global Const $WM_VKEYTOITEM = 46
  267. Global Const $WM_CHARTOITEM = 47
  268. Global Const $WM_SETFONT = 48
  269. Global Const $WM_GETFONT = 49
  270. Global Const $WM_SETHOTKEY = 50
  271. Global Const $WM_GETHOTKEY = 51
  272. Global Const $WM_QUERYDRAGICON = 55
  273. Global Const $WM_COMPAREITEM = 57
  274. Global Const $WM_GETOBJECT = 61
  275. Global Const $WM_COMPACTING = 65
  276. Global Const $WM_COMMNOTIFY = 68
  277. Global Const $WM_WINDOWPOSCHANGING = 70
  278. Global Const $WM_WINDOWPOSCHANGED = 71
  279. Global Const $WM_POWER = 72
  280. Global Const $WM_NOTIFY = 78
  281. Global Const $WM_COPYDATA = 74
  282. Global Const $WM_CANCELJOURNAL = 75
  283. Global Const $WM_INPUTLANGCHANGEREQUEST = 80
  284. Global Const $WM_INPUTLANGCHANGE = 81
  285. Global Const $WM_TCARD = 82
  286. Global Const $WM_HELP = 83
  287. Global Const $WM_USERCHANGED = 84
  288. Global Const $WM_NOTIFYFORMAT = 85
  289. Global Const $WM_CUT = 768
  290. Global Const $WM_COPY = 769
  291. Global Const $WM_PASTE = 770
  292. Global Const $WM_CLEAR = 771
  293. Global Const $WM_UNDO = 772
  294. Global Const $WM_CONTEXTMENU = 123
  295. Global Const $WM_STYLECHANGING = 124
  296. Global Const $WM_STYLECHANGED = 125
  297. Global Const $WM_DISPLAYCHANGE = 126
  298. Global Const $WM_GETICON = 127
  299. Global Const $WM_SETICON = 128
  300. Global Const $WM_NCCREATE = 129
  301. Global Const $WM_NCDESTROY = 130
  302. Global Const $WM_NCCALCSIZE = 131
  303. Global Const $WM_NCHITTEST = 132
  304. Global Const $WM_NCPAINT = 133
  305. Global Const $WM_NCACTIVATE = 134
  306. Global Const $WM_GETDLGCODE = 135
  307. Global Const $WM_SYNCPAINT = 136
  308. Global Const $WM_NCMOUSEMOVE = 160
  309. Global Const $WM_NCLBUTTONDOWN = 161
  310. Global Const $WM_NCLBUTTONUP = 162
  311. Global Const $WM_NCLBUTTONDBLCLK = 163
  312. Global Const $WM_NCRBUTTONDOWN = 164
  313. Global Const $WM_NCRBUTTONUP = 165
  314. Global Const $WM_NCRBUTTONDBLCLK = 166
  315. Global Const $WM_NCMBUTTONDOWN = 167
  316. Global Const $WM_NCMBUTTONUP = 168
  317. Global Const $WM_NCMBUTTONDBLCLK = 169
  318. Global Const $WM_KEYDOWN = 256
  319. Global Const $WM_KEYUP = 257
  320. Global Const $WM_CHAR = 258
  321. Global Const $WM_DEADCHAR = 259
  322. Global Const $WM_SYSKEYDOWN = 260
  323. Global Const $WM_SYSKEYUP = 261
  324. Global Const $WM_SYSCHAR = 262
  325. Global Const $WM_SYSDEADCHAR = 263
  326. Global Const $WM_INITDIALOG = 272
  327. Global Const $WM_COMMAND = 273
  328. Global Const $WM_SYSCOMMAND = 274
  329. Global Const $WM_TIMER = 275
  330. Global Const $WM_HSCROLL = 276
  331. Global Const $WM_VSCROLL = 277
  332. Global Const $WM_INITMENU = 278
  333. Global Const $WM_INITMENUPOPUP = 279
  334. Global Const $WM_MENUSELECT = 287
  335. Global Const $WM_MENUCHAR = 288
  336. Global Const $WM_ENTERIDLE = 289
  337. Global Const $WM_MENURBUTTONUP = 290
  338. Global Const $WM_MENUDRAG = 291
  339. Global Const $WM_MENUGETOBJECT = 292
  340. Global Const $WM_UNINITMENUPOPUP = 293
  341. Global Const $WM_MENUCOMMAND = 294
  342. Global Const $WM_CHANGEUISTATE = 295
  343. Global Const $WM_UPDATEUISTATE = 296
  344. Global Const $WM_QUERYUISTATE = 297
  345. Global Const $WM_CTLCOLORMSGBOX = 306
  346. Global Const $WM_CTLCOLOREDIT = 307
  347. Global Const $WM_CTLCOLORLISTBOX = 308
  348. Global Const $WM_CTLCOLORBTN = 309
  349. Global Const $WM_CTLCOLORDLG = 310
  350. Global Const $WM_CTLCOLORSCROLLBAR = 311
  351. Global Const $WM_CTLCOLORSTATIC = 312
  352. Global Const $WM_CTLCOLOR = 25
  353. Global Const $MN_GETHMENU = 481
  354. Global Const $NM_FIRST = 0
  355. Global Const $NM_OUTOFMEMORY = $NM_FIRST - 1
  356. Global Const $NM_CLICK = $NM_FIRST - 2
  357. Global Const $NM_DBLCLK = $NM_FIRST - 3
  358. Global Const $NM_RETURN = $NM_FIRST - 4
  359. Global Const $NM_RCLICK = $NM_FIRST - 5
  360. Global Const $NM_RDBLCLK = $NM_FIRST - 6
  361. Global Const $NM_SETFOCUS = $NM_FIRST - 7
  362. Global Const $NM_KILLFOCUS = $NM_FIRST - 8
  363. Global Const $NM_CUSTOMDRAW = $NM_FIRST - 12
  364. Global Const $NM_HOVER = $NM_FIRST - 13
  365. Global Const $NM_NCHITTEST = $NM_FIRST - 14
  366. Global Const $NM_KEYDOWN = $NM_FIRST - 15
  367. Global Const $NM_RELEASEDCAPTURE = $NM_FIRST - 16
  368. Global Const $NM_SETCURSOR = $NM_FIRST - 17
  369. Global Const $NM_CHAR = $NM_FIRST - 18
  370. Global Const $NM_TOOLTIPSCREATED = $NM_FIRST - 19
  371. Global Const $NM_LDOWN = $NM_FIRST - 20
  372. Global Const $NM_RDOWN = $NM_FIRST - 21
  373. Global Const $NM_THEMECHANGED = $NM_FIRST - 22
  374. Global Const $WM_MOUSEMOVE = 512
  375. Global Const $WM_LBUTTONDOWN = 513
  376. Global Const $WM_LBUTTONUP = 514
  377. Global Const $WM_LBUTTONDBLCLK = 515
  378. Global Const $WM_RBUTTONDOWN = 516
  379. Global Const $WM_RBUTTONUP = 517
  380. Global Const $WM_RBUTTONDBLCK = 518
  381. Global Const $WM_MBUTTONDOWN = 519
  382. Global Const $WM_MBUTTONUP = 520
  383. Global Const $WM_MBUTTONDBLCK = 521
  384. Global Const $WM_MOUSEWHEEL = 522
  385. Global Const $WM_XBUTTONDOWN = 523
  386. Global Const $WM_XBUTTONUP = 524
  387. Global Const $WM_XBUTTONDBLCLK = 525
  388. Global Const $WM_MOUSEHWHEEL = 526
  389. Global Const $PS_SOLID = 0
  390. Global Const $PS_DASH = 1
  391. Global Const $PS_DOT = 2
  392. Global Const $PS_DASHDOT = 3
  393. Global Const $PS_DASHDOTDOT = 4
  394. Global Const $PS_NULL = 5
  395. Global Const $PS_INSIDEFRAME = 6
  396. Global Const $LWA_ALPHA = 2
  397. Global Const $LWA_COLORKEY = 1
  398. Global Const $RGN_AND = 1
  399. Global Const $RGN_OR = 2
  400. Global Const $RGN_XOR = 3
  401. Global Const $RGN_DIFF = 4
  402. Global Const $RGN_COPY = 5
  403. Global Const $ERRORREGION = 0
  404. Global Const $NULLREGION = 1
  405. Global Const $SIMPLEREGION = 2
  406. Global Const $COMPLEXREGION = 3
  407. Global Const $TRANSPARENT = 1
  408. Global Const $OPAQUE = 2
  409. Global Const $CCM_FIRST = 8192
  410. Global Const $CCM_GETUNICODEFORMAT = ($CCM_FIRST + 6)
  411. Global Const $CCM_SETUNICODEFORMAT = ($CCM_FIRST + 5)
  412. Global Const $CCM_SETBKCOLOR = $CCM_FIRST + 1
  413. Global Const $CCM_SETCOLORSCHEME = $CCM_FIRST + 2
  414. Global Const $CCM_GETCOLORSCHEME = $CCM_FIRST + 3
  415. Global Const $CCM_GETDROPTARGET = $CCM_FIRST + 4
  416. Global Const $CCM_SETWINDOWTHEME = $CCM_FIRST + 11
  417. Global Const $GA_PARENT = 1
  418. Global Const $GA_ROOT = 2
  419. Global Const $GA_ROOTOWNER = 3
  420. Global Const $SM_CXSCREEN = 0
  421. Global Const $SM_CYSCREEN = 1
  422. Global Const $SM_CXVSCROLL = 2
  423. Global Const $SM_CYHSCROLL = 3
  424. Global Const $SM_CYCAPTION = 4
  425. Global Const $SM_CXBORDER = 5
  426. Global Const $SM_CYBORDER = 6
  427. Global Const $SM_CXDLGFRAME = 7
  428. Global Const $SM_CYDLGFRAME = 8
  429. Global Const $SM_CYVTHUMB = 9
  430. Global Const $SM_CXHTHUMB = 10
  431. Global Const $SM_CXICON = 11
  432. Global Const $SM_CYICON = 12
  433. Global Const $SM_CXCURSOR = 13
  434. Global Const $SM_CYCURSOR = 14
  435. Global Const $SM_CYMENU = 15
  436. Global Const $SM_CXFULLSCREEN = 16
  437. Global Const $SM_CYFULLSCREEN = 17
  438. Global Const $SM_CYKANJIWINDOW = 18
  439. Global Const $SM_MOUSEPRESENT = 19
  440. Global Const $SM_CYVSCROLL = 20
  441. Global Const $SM_CXHSCROLL = 21
  442. Global Const $SM_DEBUG = 22
  443. Global Const $SM_SWAPBUTTON = 23
  444. Global Const $SM_RESERVED1 = 24
  445. Global Const $SM_RESERVED2 = 25
  446. Global Const $SM_RESERVED3 = 26
  447. Global Const $SM_RESERVED4 = 27
  448. Global Const $SM_CXMIN = 28
  449. Global Const $SM_CYMIN = 29
  450. Global Const $SM_CXSIZE = 30
  451. Global Const $SM_CYSIZE = 31
  452. Global Const $SM_CXFRAME = 32
  453. Global Const $SM_CYFRAME = 33
  454. Global Const $SM_CXMINTRACK = 34
  455. Global Const $SM_CYMINTRACK = 35
  456. Global Const $SM_CXDOUBLECLK = 36
  457. Global Const $SM_CYDOUBLECLK = 37
  458. Global Const $SM_CXICONSPACING = 38
  459. Global Const $SM_CYICONSPACING = 39
  460. Global Const $SM_MENUDROPALIGNMENT = 40
  461. Global Const $SM_PENWINDOWS = 41
  462. Global Const $SM_DBCSENABLED = 42
  463. Global Const $SM_CMOUSEBUTTONS = 43
  464. Global Const $SM_SECURE = 44
  465. Global Const $SM_CXEDGE = 45
  466. Global Const $SM_CYEDGE = 46
  467. Global Const $SM_CXMINSPACING = 47
  468. Global Const $SM_CYMINSPACING = 48
  469. Global Const $SM_CXSMICON = 49
  470. Global Const $SM_CYSMICON = 50
  471. Global Const $SM_CYSMCAPTION = 51
  472. Global Const $SM_CXSMSIZE = 52
  473. Global Const $SM_CYSMSIZE = 53
  474. Global Const $SM_CXMENUSIZE = 54
  475. Global Const $SM_CYMENUSIZE = 55
  476. Global Const $SM_ARRANGE = 56
  477. Global Const $SM_CXMINIMIZED = 57
  478. Global Const $SM_CYMINIMIZED = 58
  479. Global Const $SM_CXMAXTRACK = 59
  480. Global Const $SM_CYMAXTRACK = 60
  481. Global Const $SM_CXMAXIMIZED = 61
  482. Global Const $SM_CYMAXIMIZED = 62
  483. Global Const $SM_NETWORK = 63
  484. Global Const $SM_CLEANBOOT = 67
  485. Global Const $SM_CXDRAG = 68
  486. Global Const $SM_CYDRAG = 69
  487. Global Const $SM_SHOWSOUNDS = 70
  488. Global Const $SM_CXMENUCHECK = 71
  489. Global Const $SM_CYMENUCHECK = 72
  490. Global Const $SM_SLOWMACHINE = 73
  491. Global Const $SM_MIDEASTENABLED = 74
  492. Global Const $SM_MOUSEWHEELPRESENT = 75
  493. Global Const $SM_XVIRTUALSCREEN = 76
  494. Global Const $SM_YVIRTUALSCREEN = 77
  495. Global Const $SM_CXVIRTUALSCREEN = 78
  496. Global Const $SM_CYVIRTUALSCREEN = 79
  497. Global Const $SM_CMONITORS = 80
  498. Global Const $SM_SAMEDISPLAYFORMAT = 81
  499. Global Const $SM_IMMENABLED = 82
  500. Global Const $SM_CXFOCUSBORDER = 83
  501. Global Const $SM_CYFOCUSBORDER = 84
  502. Global Const $SM_TABLETPC = 86
  503. Global Const $SM_MEDIACENTER = 87
  504. Global Const $SM_STARTER = 88
  505. Global Const $SM_SERVERR2 = 89
  506. Global Const $SM_CMETRICS = 90
  507. Global Const $SM_REMOTESESSION = 4096
  508. Global Const $SM_SHUTTINGDOWN = 8192
  509. Global Const $SM_REMOTECONTROL = 8193
  510. Global Const $SM_CARETBLINKINGENABLED = 8194
  511. Global Const $BLACKNESS = 66
  512. Global Const $CAPTUREBLT = 1073741824
  513. Global Const $DSTINVERT = 5570569
  514. Global Const $MERGECOPY = 12583114
  515. Global Const $MERGEPAINT = 12255782
  516. Global Const $NOMIRRORBITMAP = -2147483648
  517. Global Const $NOTSRCCOPY = 3342344
  518. Global Const $NOTSRCERASE = 1114278
  519. Global Const $PATCOPY = 15728673
  520. Global Const $PATINVERT = 5898313
  521. Global Const $PATPAINT = 16452105
  522. Global Const $SRCAND = 8913094
  523. Global Const $SRCCOPY = 13369376
  524. Global Const $SRCERASE = 4457256
  525. Global Const $SRCINVERT = 6684742
  526. Global Const $SRCPAINT = 15597702
  527. Global Const $WHITENESS = 16711778
  528. Global Const $DT_BOTTOM = 8
  529. Global Const $DT_CALCRECT = 1024
  530. Global Const $DT_CENTER = 1
  531. Global Const $DT_EDITCONTROL = 8192
  532. Global Const $DT_END_ELLIPSIS = 32768
  533. Global Const $DT_EXPANDTABS = 64
  534. Global Const $DT_EXTERNALLEADING = 512
  535. Global Const $DT_HIDEPREFIX = 1048576
  536. Global Const $DT_INTERNAL = 4096
  537. Global Const $DT_LEFT = 0
  538. Global Const $DT_MODIFYSTRING = 65536
  539. Global Const $DT_NOCLIP = 256
  540. Global Const $DT_NOFULLWIDTHCHARBREAK = 524288
  541. Global Const $DT_NOPREFIX = 2048
  542. Global Const $DT_PATH_ELLIPSIS = 16384
  543. Global Const $DT_PREFIXONLY = 2097152
  544. Global Const $DT_RIGHT = 2
  545. Global Const $DT_RTLREADING = 131072
  546. Global Const $DT_SINGLELINE = 32
  547. Global Const $DT_TABSTOP = 128
  548. Global Const $DT_TOP = 0
  549. Global Const $DT_VCENTER = 4
  550. Global Const $DT_WORDBREAK = 16
  551. Global Const $DT_WORD_ELLIPSIS = 262144
  552. Global Const $RDW_ERASE = 4
  553. Global Const $RDW_FRAME = 1024
  554. Global Const $RDW_INTERNALPAINT = 2
  555. Global Const $RDW_INVALIDATE = 1
  556. Global Const $RDW_NOERASE = 32
  557. Global Const $RDW_NOFRAME = 2048
  558. Global Const $RDW_NOINTERNALPAINT = 16
  559. Global Const $RDW_VALIDATE = 8
  560. Global Const $RDW_ERASENOW = 512
  561. Global Const $RDW_UPDATENOW = 256
  562. Global Const $RDW_ALLCHILDREN = 128
  563. Global Const $RDW_NOCHILDREN = 64
  564. Global Const $WM_RENDERFORMAT = 773
  565. Global Const $WM_RENDERALLFORMATS = 774
  566. Global Const $WM_DESTROYCLIPBOARD = 775
  567. Global Const $WM_DRAWCLIPBOARD = 776
  568. Global Const $WM_PAINTCLIPBOARD = 777
  569. Global Const $WM_VSCROLLCLIPBOARD = 778
  570. Global Const $WM_SIZECLIPBOARD = 779
  571. Global Const $WM_ASKCBFORMATNAME = 780
  572. Global Const $WM_CHANGECBCHAIN = 781
  573. Global Const $WM_HSCROLLCLIPBOARD = 782
  574. Global Const $HTERROR = -2
  575. Global Const $HTTRANSPARENT = -1
  576. Global Const $HTNOWHERE = 0
  577. Global Const $HTCLIENT = 1
  578. Global Const $HTCAPTION = 2
  579. Global Const $HTSYSMENU = 3
  580. Global Const $HTGROWBOX = 4
  581. Global Const $HTSIZE = $HTGROWBOX
  582. Global Const $HTMENU = 5
  583. Global Const $HTHSCROLL = 6
  584. Global Const $HTVSCROLL = 7
  585. Global Const $HTMINBUTTON = 8
  586. Global Const $HTMAXBUTTON = 9
  587. Global Const $HTLEFT = 10
  588. Global Const $HTRIGHT = 11
  589. Global Const $HTTOP = 12
  590. Global Const $HTTOPLEFT = 13
  591. Global Const $HTTOPRIGHT = 14
  592. Global Const $HTBOTTOM = 15
  593. Global Const $HTBOTTOMLEFT = 16
  594. Global Const $HTBOTTOMRIGHT = 17
  595. Global Const $HTBORDER = 18
  596. Global Const $HTREDUCE = $HTMINBUTTON
  597. Global Const $HTZOOM = $HTMAXBUTTON
  598. Global Const $HTSIZEFIRST = $HTLEFT
  599. Global Const $HTSIZELAST = $HTBOTTOMRIGHT
  600. Global Const $HTOBJECT = 19
  601. Global Const $HTCLOSE = 20
  602. Global Const $HTHELP = 21
  603. Global Const $COLOR_SCROLLBAR = 0
  604. Global Const $COLOR_BACKGROUND = 1
  605. Global Const $COLOR_ACTIVECAPTION = 2
  606. Global Const $COLOR_INACTIVECAPTION = 3
  607. Global Const $COLOR_MENU = 4
  608. Global Const $COLOR_WINDOW = 5
  609. Global Const $COLOR_WINDOWFRAME = 6
  610. Global Const $COLOR_MENUTEXT = 7
  611. Global Const $COLOR_WINDOWTEXT = 8
  612. Global Const $COLOR_CAPTIONTEXT = 9
  613. Global Const $COLOR_ACTIVEBORDER = 10
  614. Global Const $COLOR_INACTIVEBORDER = 11
  615. Global Const $COLOR_APPWORKSPACE = 12
  616. Global Const $COLOR_HIGHLIGHT = 13
  617. Global Const $COLOR_HIGHLIGHTTEXT = 14
  618. Global Const $COLOR_BTNFACE = 15
  619. Global Const $COLOR_BTNSHADOW = 16
  620. Global Const $COLOR_GRAYTEXT = 17
  621. Global Const $COLOR_BTNTEXT = 18
  622. Global Const $COLOR_INACTIVECAPTIONTEXT = 19
  623. Global Const $COLOR_BTNHIGHLIGHT = 20
  624. Global Const $COLOR_3DDKSHADOW = 21
  625. Global Const $COLOR_3DLIGHT = 22
  626. Global Const $COLOR_INFOTEXT = 23
  627. Global Const $COLOR_INFOBK = 24
  628. Global Const $COLOR_HOTLIGHT = 26
  629. Global Const $COLOR_GRADIENTACTIVECAPTION = 27
  630. Global Const $COLOR_GRADIENTINACTIVECAPTION = 28
  631. Global Const $COLOR_MENUHILIGHT = 29
  632. Global Const $COLOR_MENUBAR = 30
  633. Global Const $COLOR_DESKTOP = 1
  634. Global Const $COLOR_3DFACE = 15
  635. Global Const $COLOR_3DSHADOW = 16
  636. Global Const $COLOR_3DHIGHLIGHT = 20
  637. Global Const $COLOR_3DHILIGHT = 20
  638. Global Const $COLOR_BTNHILIGHT = 20
  639. Global Const $HINST_COMMCTRL = -1
  640. Global Const $IDB_STD_SMALL_COLOR = 0
  641. Global Const $IDB_STD_LARGE_COLOR = 1
  642. Global Const $IDB_VIEW_SMALL_COLOR = 4
  643. Global Const $IDB_VIEW_LARGE_COLOR = 5
  644. Global Const $IDB_HIST_SMALL_COLOR = 8
  645. Global Const $IDB_HIST_LARGE_COLOR = 9
  646. Global Const $STARTF_FORCEOFFFEEDBACK = 128
  647. Global Const $STARTF_FORCEONFEEDBACK = 64
  648. Global Const $STARTF_RUNFULLSCREEN = 32
  649. Global Const $STARTF_USECOUNTCHARS = 8
  650. Global Const $STARTF_USEFILLATTRIBUTE = 16
  651. Global Const $STARTF_USEHOTKEY = 512
  652. Global Const $STARTF_USEPOSITION = 4
  653. Global Const $STARTF_USESHOWWINDOW = 1
  654. Global Const $STARTF_USESIZE = 2
  655. Global Const $STARTF_USESTDHANDLES = 256
  656. Global Const $CDDS_PREPAINT = 1
  657. Global Const $CDDS_POSTPAINT = 2
  658. Global Const $CDDS_PREERASE = 3
  659. Global Const $CDDS_POSTERASE = 4
  660. Global Const $CDDS_ITEM = 65536
  661. Global Const $CDDS_ITEMPREPAINT = 65537
  662. Global Const $CDDS_ITEMPOSTPAINT = 65538
  663. Global Const $CDDS_ITEMPREERASE = 65539
  664. Global Const $CDDS_ITEMPOSTERASE = 65540
  665. Global Const $CDDS_SUBITEM = 131072
  666. Global Const $CDIS_SELECTED = 1
  667. Global Const $CDIS_GRAYED = 2
  668. Global Const $CDIS_DISABLED = 4
  669. Global Const $CDIS_CHECKED = 8
  670. Global Const $CDIS_FOCUS = 16
  671. Global Const $CDIS_DEFAULT = 32
  672. Global Const $CDIS_HOT = 64
  673. Global Const $CDIS_MARKED = 128
  674. Global Const $CDIS_INDETERMINATE = 256
  675. Global Const $CDIS_SHOWKEYBOARDCUES = 512
  676. Global Const $CDIS_NEARHOT = 1024
  677. Global Const $CDIS_OTHERSIDEHOT = 2048
  678. Global Const $CDIS_DROPHILITED = 4096
  679. Global Const $CDRF_DODEFAULT = 0
  680. Global Const $CDRF_NEWFONT = 2
  681. Global Const $CDRF_SKIPDEFAULT = 4
  682. Global Const $CDRF_NOTIFYPOSTPAINT = 16
  683. Global Const $CDRF_NOTIFYITEMDRAW = 32
  684. Global Const $CDRF_NOTIFYSUBITEMDRAW = 32
  685. Global Const $CDRF_NOTIFYPOSTERASE = 64
  686. Global Const $CDRF_DOERASE = 8
  687. Global Const $CDRF_SKIPPOSTPAINT = 256
  688. Global Const $GUI_SS_DEFAULT_GUI = BitOR($WS_MINIMIZEBOX, $WS_CAPTION, $WS_POPUP, $WS_SYSMENU)
  689.  
  690. Func _IMAGESEARCH($FINDIMAGE, $RESULTPOSITION, ByRef $X, ByRef $Y, $TOLERANCE, $TRANSPARENCY = 0)
  691.     Return _IMAGESEARCHAREA($FINDIMAGE, $RESULTPOSITION, 0, 0, @DesktopWidth, @DesktopHeight, $X, $Y, $TOLERANCE, $TRANSPARENCY)
  692. EndFunc
  693.  
  694.  
  695. Func _IMAGESEARCHAREA($FINDIMAGE, $RESULTPOSITION, $X1, $Y1, $RIGHT, $BOTTOM, ByRef $X, ByRef $Y, $TOLERANCE, $TRANSPARENCY = 0)
  696.     If Not ($TRANSPARENCY = 0) Then $FINDIMAGE = "*" & $TRANSPARENCY & " " & $FINDIMAGE
  697.     If $TOLERANCE > 0 Then $FINDIMAGE = "*" & $TOLERANCE & " " & $FINDIMAGE
  698.     $RESULT = DllCall("ImageSearchDLL.dll", "str", "ImageSearch", "int", $X1, "int", $Y1, "int", $RIGHT, "int", $BOTTOM, "str", $FINDIMAGE)
  699.     If $RESULT[0] = "0" Then Return 0
  700.     $ARRAY = StringSplit($RESULT[0], "|")
  701.     $X = Int(Number($ARRAY[2]))
  702.     $Y = Int(Number($ARRAY[3]))
  703.     If $RESULTPOSITION = 1 Then
  704.         $X = $X + Int(Number($ARRAY[4]) / 2)
  705.         $Y = $Y + Int(Number($ARRAY[5]) / 2)
  706.     EndIf
  707.     Return 1
  708. EndFunc
  709.  
  710.  
  711. Func _WAITFORIMAGESEARCH($FINDIMAGE, $WAITSECS, $RESULTPOSITION, ByRef $X, ByRef $Y, $TOLERANCE, $TRANSPARENCY = 0)
  712.     $WAITSECS = $WAITSECS * 1000
  713.     $STARTTIME = TimerInit()
  714.     While TimerDiff($STARTTIME) < $WAITSECS
  715.         Sleep(100)
  716.         $RESULT = _IMAGESEARCH($FINDIMAGE, $RESULTPOSITION, $X, $Y, $TOLERANCE, $TRANSPARENCY)
  717.         If $RESULT > 0 Then
  718.             Return 1
  719.         EndIf
  720.     WEnd
  721.     Return 0
  722. EndFunc
  723.  
  724.  
  725. Func _WAITFORIMAGESSEARCH($FINDIMAGE, $WAITSECS, $RESULTPOSITION, ByRef $X, ByRef $Y, $TOLERANCE, $TRANSPARENCY = 0)
  726.     $WAITSECS = $WAITSECS * 1000
  727.     $STARTTIME = TimerInit()
  728.     While TimerDiff($STARTTIME) < $WAITSECS
  729.         For $I = 1 To $FINDIMAGE[0]
  730.             Sleep(100)
  731.             $RESULT = _IMAGESEARCH($FINDIMAGE[$I], $RESULTPOSITION, $X, $Y, $TOLERANCE, $TRANSPARENCY)
  732.             If $RESULT > 0 Then
  733.                 Return $I
  734.             EndIf
  735.         Next
  736.     WEnd
  737.     Return 0
  738. EndFunc
  739.  
  740. #region ### START Koda GUI section ### Form=
  741. $FORM1 = GUICreate("Credits Maker v0.3 BETA ... [MPHforum.pl] ...", 500, 300, 192, 124)
  742. $PIC1 = GUICtrlCreatePic("C:\Documents and Settings\Kamilek\Pulpit\Credits Maker\GFX\Tlo.bmp", 0, 0, 500, 300)
  743. GUISetState(@SW_SHOW)
  744. #endregion ### START Koda GUI section ### Form=
  745. HotKeySet("{F1}", "start")
  746. HotKeySet("{F2}", "skandi1")
  747. HotKeySet("{F3}", "start2")
  748. HotKeySet("{F4}", "skandi1win7")
  749. HotKeySet("{F5}", "pauza")
  750. HotKeySet("{ESC}", "stop")
  751. While 1
  752.     $NMSG = GUIGetMsg()
  753.     Switch $NMSG
  754.         Case $GUI_EVENT_CLOSE
  755.             Exit
  756.     EndSwitch
  757. WEnd
  758.  
  759. Func START()
  760.     Global $X, $Y
  761.     While 1
  762.         Do
  763.             $RESULT = _IMAGESEARCH("GFX\WinXP\sklep.bmp", 1, $X, $Y, 20)
  764.         Until $RESULT = 1
  765.         If $RESULT = 1 Then MouseClick("left", $X, $Y, 1, 0)
  766.         Do
  767.             $RESULT2 = _IMAGESEARCH("GFX\WinXP\drony.bmp", 1, $X, $Y, 20)
  768.         Until $RESULT2 = 1
  769.         If $RESULT2 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  770.         Do
  771.             $RESULT3 = _IMAGESEARCH("GFX\WinXP\kup.bmp", 1, $X, $Y, 20)
  772.         Until $RESULT3 = 1
  773.         If $RESULT3 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  774.         Do
  775.             $RESULT4 = _IMAGESEARCH("GFX\WinXP\ok.bmp", 1, $X, $Y, 20)
  776.         Until $RESULT4 = 1
  777.         If $RESULT4 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  778.         Do
  779.             $RESULT9 = _IMAGESEARCH("GFX\WinXP\ok2.bmp", 1, $X, $Y, 20)
  780.         Until $RESULT9 = 1
  781.         If $RESULT9 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  782.         Do
  783.             $RESULT5 = _IMAGESEARCH("GFX\WinXP\wyposazenie.bmp", 1, $X, $Y, 20)
  784.         Until $RESULT5 = 1
  785.         If $RESULT5 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  786.         Do
  787.             $RESULT6 = _IMAGESEARCH("GFX\WinXP\drony2.bmp", 1, $X, $Y, 20)
  788.         Until $RESULT6 = 1
  789.         If $RESULT6 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  790.         Do
  791.             $RESULT24 = _IMAGESEARCH("GFX\WinXP\schowajdrony.bmp", 1, $X, $Y, 20)
  792.         Until $RESULT24 = 1
  793.         If $RESULT24 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  794.         Sleep(500)
  795.         Do
  796.             $RESULT26 = _IMAGESEARCH("GFX\WinXP\schowanyflax.bmp", 1, $X, $Y, 20)
  797.         Until $RESULT26 = 1
  798.         If $RESULT26 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  799.         Do
  800.             $RESULT8 = _IMAGESEARCH("GFX\WinXP\flax.bmp", 1, $X, $Y, 20)
  801.         Until $RESULT8 = 1
  802.         If $RESULT8 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  803.         Do
  804.             $RESULT10 = _IMAGESEARCH("GFX\WinXP\sprzedaj.bmp", 1, $X, $Y, 20)
  805.         Until $RESULT10 = 1
  806.         If $RESULT10 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  807.         Do
  808.             $RESULT11 = _IMAGESEARCH("GFX\WinXP\Charles.bmp", 1, $X, $Y, 20)
  809.         Until $RESULT11 = 1
  810.         If $RESULT11 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  811.         Do
  812.             $RESULT15 = _IMAGESEARCH("GFX\WinXP\wielokat.bmp", 1, $X, $Y, 20)
  813.         Until $RESULT15 = 1
  814.         If $RESULT15 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  815.         Do
  816.             $RESULT16 = _IMAGESEARCH("GFX\WinXP\minimalizuj.bmp", 1, $X, $Y, 20)
  817.         Until $RESULT16 = 1
  818.         If $RESULT16 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  819.         Do
  820.             $RESULT17 = _IMAGESEARCH("GFX\WinXP\sprzedaj2.bmp", 1, $X, $Y, 20)
  821.         Until $RESULT17 = 1
  822.         If $RESULT17 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  823.         Do
  824.             $RESULT18 = _IMAGESEARCH("GFX\WinXP\abort.bmp", 1, $X, $Y, 20)
  825.         Until $RESULT18 = 1
  826.         If $RESULT18 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  827.         Do
  828.             $RESULT19 = _IMAGESEARCH("GFX\WinXP\wcisnietywielokat.bmp", 1, $X, $Y, 20)
  829.         Until $RESULT19 = 1
  830.         If $RESULT19 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  831.         Do
  832.             $RESULT12 = _IMAGESEARCH("GFX\WinXP\pl2darkorbit.bmp", 1, $X, $Y, 20)
  833.         Until $RESULT12 = 1
  834.         If $RESULT12 = 1 Then MouseClick("left", $X, $Y, 2, 0)
  835.         Do
  836.             $RESULT13 = _IMAGESEARCH("GFX\WinXP\flashapi.bmp", 1, $X, $Y, 20)
  837.         Until $RESULT13 = 1
  838.         If $RESULT13 = 1 Then MouseClick("left", $X, $Y, 2, 0)
  839.         Do
  840.             $RESULT14 = _IMAGESEARCH("GFX\WinXP\inventory.bmp", 1, $X, $Y, 20)
  841.         Until $RESULT14 = 1
  842.         If $RESULT14 = 1 Then MouseClick("right", $X, $Y, 1, 0)
  843.         Do
  844.             $RESULT20 = _IMAGESEARCH("GFX\WinXP\repeatadvanced.bmp", 1, $X, $Y, 20)
  845.         Until $RESULT20 = 1
  846.         If $RESULT20 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  847.         Sleep(250)
  848.         Send("{ENTER}")
  849.         Sleep(250)
  850.         Do
  851.             $RESULT21 = _IMAGESEARCH("GFX\WinXP\pl2darkorbit.bmp", 1, $X, $Y, 20)
  852.         Until $RESULT21 = 1
  853.         If $RESULT21 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  854.         Do
  855.             $RESULT22 = _IMAGESEARCH("GFX\WinXP\incomplete.bmp", 1, $X, $Y, 20)
  856.         Until $RESULT22 = 1
  857.         If $RESULT22 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  858.         Do
  859.             $RESULT23 = _IMAGESEARCH("GFX\WinXP\zamknij.bmp", 1, $X, $Y, 20)
  860.         Until $RESULT23 = 1
  861.         If $RESULT23 = 1 Then
  862.             MouseClick("left", $X, $Y, 2, 0)
  863.             MouseClick("left", $X - 74, $Y, 1, 0)
  864.         EndIf
  865.         Do
  866.             $RESULT25 = _IMAGESEARCH("GFX\WinXP\minimalizuj.bmp", 1, $X, $Y, 20)
  867.         Until $RESULT25 = 1
  868.         If $RESULT25 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  869.     WEnd
  870. EndFunc
  871.  
  872.  
  873. Func SKANDI1()
  874.     Global $X, $Y
  875.     While 1
  876.         Do
  877.             $RESULT = _IMAGESEARCH("GFX\WinXP\sklep.bmp", 1, $X, $Y, 20)
  878.         Until $RESULT = 1
  879.         If $RESULT = 1 Then MouseClick("left", $X, $Y, 1, 0)
  880.         Do
  881.             $RESULT2 = _IMAGESEARCH("GFX\WinXP\drony.bmp", 1, $X, $Y, 20)
  882.         Until $RESULT2 = 1
  883.         If $RESULT2 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  884.         Do
  885.             $RESULT3 = _IMAGESEARCH("GFX\WinXP\kup.bmp", 1, $X, $Y, 20)
  886.         Until $RESULT3 = 1
  887.         If $RESULT3 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  888.         Do
  889.             $RESULT4 = _IMAGESEARCH("GFX\WinXP\ok.bmp", 1, $X, $Y, 20)
  890.         Until $RESULT4 = 1
  891.         If $RESULT4 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  892.         Do
  893.             $RESULT9 = _IMAGESEARCH("GFX\WinXP\ok2.bmp", 1, $X, $Y, 20)
  894.         Until $RESULT9 = 1
  895.         If $RESULT9 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  896.         Do
  897.             $RESULT5 = _IMAGESEARCH("GFX\WinXP\wyposazenie.bmp", 1, $X, $Y, 20)
  898.         Until $RESULT5 = 1
  899.         If $RESULT5 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  900.         Do
  901.             $RESULT6 = _IMAGESEARCH("GFX\WinXP\drony2.bmp", 1, $X, $Y, 20)
  902.         Until $RESULT6 = 1
  903.         If $RESULT6 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  904.         Do
  905.             $RESULT24 = _IMAGESEARCH("GFX\WinXP\schowajdrony.bmp", 1, $X, $Y, 20)
  906.         Until $RESULT24 = 1
  907.         If $RESULT24 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  908.         Sleep(500)
  909.         Do
  910.             $RESULT26 = _IMAGESEARCH("GFX\WinXP\schowanyflax.bmp", 1, $X, $Y, 20)
  911.         Until $RESULT26 = 1
  912.         If $RESULT26 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  913.         Do
  914.             $RESULT8 = _IMAGESEARCH("GFX\WinXP\flax.bmp", 1, $X, $Y, 20)
  915.         Until $RESULT8 = 1
  916.         If $RESULT8 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  917.         Do
  918.             $RESULT10 = _IMAGESEARCH("GFX\WinXP\sprzedaj.bmp", 1, $X, $Y, 20)
  919.         Until $RESULT10 = 1
  920.         If $RESULT10 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  921.         Do
  922.             $RESULT11 = _IMAGESEARCH("GFX\WinXP\Charles.bmp", 1, $X, $Y, 20)
  923.         Until $RESULT11 = 1
  924.         If $RESULT11 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  925.         Do
  926.             $RESULT15 = _IMAGESEARCH("GFX\WinXP\wielokat.bmp", 1, $X, $Y, 20)
  927.         Until $RESULT15 = 1
  928.         If $RESULT15 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  929.         Do
  930.             $RESULT16 = _IMAGESEARCH("GFX\WinXP\minimalizuj.bmp", 1, $X, $Y, 20)
  931.         Until $RESULT16 = 1
  932.         If $RESULT16 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  933.         Do
  934.             $RESULT17 = _IMAGESEARCH("GFX\WinXP\sprzedaj2.bmp", 1, $X, $Y, 20)
  935.         Until $RESULT17 = 1
  936.         If $RESULT17 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  937.         Do
  938.             $RESULT18 = _IMAGESEARCH("GFX\WinXP\abort.bmp", 1, $X, $Y, 20)
  939.         Until $RESULT18 = 1
  940.         If $RESULT18 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  941.         Do
  942.             $RESULT19 = _IMAGESEARCH("GFX\WinXP\wcisnietywielokat.bmp", 1, $X, $Y, 20)
  943.         Until $RESULT19 = 1
  944.         If $RESULT19 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  945.         Do
  946.             $RESULT12 = _IMAGESEARCH("GFX\WinXP\int3darkorbit.bmp", 1, $X, $Y, 20)
  947.         Until $RESULT12 = 1
  948.         If $RESULT12 = 1 Then MouseClick("left", $X, $Y, 2, 0)
  949.         Do
  950.             $RESULT13 = _IMAGESEARCH("GFX\WinXP\flashapi.bmp", 1, $X, $Y, 20)
  951.         Until $RESULT13 = 1
  952.         If $RESULT13 = 1 Then MouseClick("left", $X, $Y, 2, 0)
  953.         Do
  954.             $RESULT14 = _IMAGESEARCH("GFX\WinXP\inventory.bmp", 1, $X, $Y, 20)
  955.         Until $RESULT14 = 1
  956.         If $RESULT14 = 1 Then MouseClick("right", $X, $Y, 1, 0)
  957.         Do
  958.             $RESULT20 = _IMAGESEARCH("GFX\WinXP\repeatadvanced.bmp", 1, $X, $Y, 20)
  959.         Until $RESULT20 = 1
  960.         If $RESULT20 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  961.         Sleep(250)
  962.         Send("{ENTER}")
  963.         Sleep(250)
  964.         Do
  965.             $RESULT21 = _IMAGESEARCH("GFX\WinXP\int3darkorbit.bmp", 1, $X, $Y, 20)
  966.         Until $RESULT21 = 1
  967.         If $RESULT21 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  968.         Do
  969.             $RESULT22 = _IMAGESEARCH("GFX\WinXP\incomplete.bmp", 1, $X, $Y, 20)
  970.         Until $RESULT22 = 1
  971.         If $RESULT22 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  972.         Do
  973.             $RESULT23 = _IMAGESEARCH("GFX\WinXP\zamknij.bmp", 1, $X, $Y, 20)
  974.         Until $RESULT23 = 1
  975.         If $RESULT23 = 1 Then
  976.             MouseClick("left", $X, $Y, 2, 0)
  977.             MouseClick("left", $X - 74, $Y, 1, 0)
  978.         EndIf
  979.         Do
  980.             $RESULT25 = _IMAGESEARCH("GFX\WinXP\minimalizuj.bmp", 1, $X, $Y, 20)
  981.         Until $RESULT25 = 1
  982.         If $RESULT25 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  983.     WEnd
  984. EndFunc
  985.  
  986.  
  987. Func START2()
  988.     Global $X, $Y
  989.     While 1
  990.         Do
  991.             $RESULT = _IMAGESEARCH("GFX\Win7\sklep.bmp", 1, $X, $Y, 20)
  992.         Until $RESULT = 1
  993.         If $RESULT = 1 Then MouseClick("left", $X, $Y, 1, 0)
  994.         Do
  995.             $RESULT2 = _IMAGESEARCH("GFX\Win7\drony.bmp", 1, $X, $Y, 20)
  996.         Until $RESULT2 = 1
  997.         If $RESULT2 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  998.         Do
  999.             $RESULT3 = _IMAGESEARCH("GFX\Win7\kup.bmp", 1, $X, $Y, 20)
  1000.         Until $RESULT3 = 1
  1001.         If $RESULT3 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1002.         Do
  1003.             $RESULT4 = _IMAGESEARCH("GFX\Win7\ok.bmp", 1, $X, $Y, 20)
  1004.         Until $RESULT4 = 1
  1005.         If $RESULT4 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1006.         Do
  1007.             $RESULT9 = _IMAGESEARCH("GFX\Win7\ok2.bmp", 1, $X, $Y, 20)
  1008.         Until $RESULT9 = 1
  1009.         If $RESULT9 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1010.         Do
  1011.             $RESULT5 = _IMAGESEARCH("GFX\Win7\wyposazenie.bmp", 1, $X, $Y, 20)
  1012.         Until $RESULT5 = 1
  1013.         If $RESULT5 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1014.         Do
  1015.             $RESULT6 = _IMAGESEARCH("GFX\Win7\drony2.bmp", 1, $X, $Y, 20)
  1016.         Until $RESULT6 = 1
  1017.         If $RESULT6 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1018.         Do
  1019.             $RESULT24 = _IMAGESEARCH("GFX\Win7\schowajdrony.bmp", 1, $X, $Y, 20)
  1020.         Until $RESULT24 = 1
  1021.         If $RESULT24 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1022.         Sleep(500)
  1023.         Do
  1024.             $RESULT26 = _IMAGESEARCH("GFX\Win7\schowanyflax.bmp", 1, $X, $Y, 20)
  1025.         Until $RESULT26 = 1
  1026.         If $RESULT26 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1027.         Do
  1028.             $RESULT8 = _IMAGESEARCH("GFX\Win7\flax.bmp", 1, $X, $Y, 20)
  1029.         Until $RESULT8 = 1
  1030.         If $RESULT8 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1031.         Do
  1032.             $RESULT10 = _IMAGESEARCH("GFX\Win7\sprzedaj.bmp", 1, $X, $Y, 20)
  1033.         Until $RESULT10 = 1
  1034.         If $RESULT10 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1035.         Do
  1036.             $RESULT11 = _IMAGESEARCH("GFX\Win7\Charles.bmp", 1, $X, $Y, 20)
  1037.         Until $RESULT11 = 1
  1038.         If $RESULT11 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1039.         Do
  1040.             $RESULT15 = _IMAGESEARCH("GFX\Win7\wielokat.bmp", 1, $X, $Y, 20)
  1041.         Until $RESULT15 = 1
  1042.         If $RESULT15 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1043.         Do
  1044.             $RESULT16 = _IMAGESEARCH("GFX\Win7\minimalizuj.bmp", 1, $X, $Y, 20)
  1045.         Until $RESULT16 = 1
  1046.         If $RESULT16 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1047.         Do
  1048.             $RESULT17 = _IMAGESEARCH("GFX\Win7\sprzedaj2.bmp", 1, $X, $Y, 20)
  1049.         Until $RESULT17 = 1
  1050.         If $RESULT17 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1051.         Do
  1052.             $RESULT18 = _IMAGESEARCH("GFX\Win7\abort.bmp", 1, $X, $Y, 20)
  1053.         Until $RESULT18 = 1
  1054.         If $RESULT18 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1055.         Do
  1056.             $RESULT19 = _IMAGESEARCH("GFX\Win7\wcisnietywielokat.bmp", 1, $X, $Y, 20)
  1057.         Until $RESULT19 = 1
  1058.         If $RESULT19 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1059.         Do
  1060.             $RESULT12 = _IMAGESEARCH("GFX\Win7\pl2darkorbit.bmp", 1, $X, $Y, 20)
  1061.         Until $RESULT12 = 1
  1062.         If $RESULT12 = 1 Then MouseClick("left", $X, $Y, 2, 0)
  1063.         Do
  1064.             $RESULT13 = _IMAGESEARCH("GFX\Win7\flashapi.bmp", 1, $X, $Y, 20)
  1065.         Until $RESULT13 = 1
  1066.         If $RESULT13 = 1 Then MouseClick("left", $X, $Y, 2, 0)
  1067.         Do
  1068.             $RESULT14 = _IMAGESEARCH("GFX\Win7\inventory.bmp", 1, $X, $Y, 20)
  1069.         Until $RESULT14 = 1
  1070.         If $RESULT14 = 1 Then MouseClick("right", $X, $Y, 1, 0)
  1071.         Do
  1072.             $RESULT20 = _IMAGESEARCH("GFX\Win7\repeatadvanced.bmp", 1, $X, $Y, 20)
  1073.         Until $RESULT20 = 1
  1074.         If $RESULT20 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1075.         Sleep(250)
  1076.         Send("{ENTER}")
  1077.         Sleep(250)
  1078.         Do
  1079.             $RESULT21 = _IMAGESEARCH("GFX\Win7\pl2darkorbit.bmp", 1, $X, $Y, 20)
  1080.         Until $RESULT21 = 1
  1081.         If $RESULT21 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1082.         Do
  1083.             $RESULT22 = _IMAGESEARCH("GFX\Win7\incomplete.bmp", 1, $X, $Y, 20)
  1084.         Until $RESULT22 = 1
  1085.         If $RESULT22 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1086.         Do
  1087.             $RESULT23 = _IMAGESEARCH("GFX\Win7\zamknij.bmp", 1, $X, $Y, 20)
  1088.         Until $RESULT23 = 1
  1089.         If $RESULT23 = 1 Then
  1090.             MouseClick("left", $X, $Y, 2, 0)
  1091.             MouseClick("left", $X - 74, $Y, 1, 0)
  1092.         EndIf
  1093.         Do
  1094.             $RESULT25 = _IMAGESEARCH("GFX\Win7\minimalizuj.bmp", 1, $X, $Y, 20)
  1095.         Until $RESULT25 = 1
  1096.         If $RESULT25 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1097.     WEnd
  1098. EndFunc
  1099.  
  1100.  
  1101. Func SKANDI1WIN7()
  1102.     Global $X, $Y
  1103.     While 1
  1104.         Do
  1105.             $RESULT = _IMAGESEARCH("GFX\Win7\sklep.bmp", 1, $X, $Y, 20)
  1106.         Until $RESULT = 1
  1107.         If $RESULT = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1108.         Do
  1109.             $RESULT2 = _IMAGESEARCH("GFX\Win7\drony.bmp", 1, $X, $Y, 20)
  1110.         Until $RESULT2 = 1
  1111.         If $RESULT2 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1112.         Do
  1113.             $RESULT3 = _IMAGESEARCH("GFX\Win7\kup.bmp", 1, $X, $Y, 20)
  1114.         Until $RESULT3 = 1
  1115.         If $RESULT3 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1116.         Do
  1117.             $RESULT4 = _IMAGESEARCH("GFX\Win7\ok.bmp", 1, $X, $Y, 20)
  1118.         Until $RESULT4 = 1
  1119.         If $RESULT4 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1120.         Do
  1121.             $RESULT9 = _IMAGESEARCH("GFX\Win7\ok2.bmp", 1, $X, $Y, 20)
  1122.         Until $RESULT9 = 1
  1123.         If $RESULT9 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1124.         Do
  1125.             $RESULT5 = _IMAGESEARCH("GFX\Win7\wyposazenie.bmp", 1, $X, $Y, 20)
  1126.         Until $RESULT5 = 1
  1127.         If $RESULT5 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1128.         Do
  1129.             $RESULT6 = _IMAGESEARCH("GFX\Win7\drony2.bmp", 1, $X, $Y, 20)
  1130.         Until $RESULT6 = 1
  1131.         If $RESULT6 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1132.         Do
  1133.             $RESULT24 = _IMAGESEARCH("GFX\Win7\schowajdrony.bmp", 1, $X, $Y, 20)
  1134.         Until $RESULT24 = 1
  1135.         If $RESULT24 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1136.         Sleep(500)
  1137.         Do
  1138.             $RESULT26 = _IMAGESEARCH("GFX\Win7\schowanyflax.bmp", 1, $X, $Y, 20)
  1139.         Until $RESULT26 = 1
  1140.         If $RESULT26 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1141.         Do
  1142.             $RESULT8 = _IMAGESEARCH("GFX\Win7\flax.bmp", 1, $X, $Y, 20)
  1143.         Until $RESULT8 = 1
  1144.         If $RESULT8 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1145.         Do
  1146.             $RESULT10 = _IMAGESEARCH("GFX\Win7\sprzedaj.bmp", 1, $X, $Y, 20)
  1147.         Until $RESULT10 = 1
  1148.         If $RESULT10 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1149.         Do
  1150.             $RESULT11 = _IMAGESEARCH("GFX\Win7\Charles.bmp", 1, $X, $Y, 20)
  1151.         Until $RESULT11 = 1
  1152.         If $RESULT11 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1153.         Do
  1154.             $RESULT15 = _IMAGESEARCH("GFX\Win7\wielokat.bmp", 1, $X, $Y, 20)
  1155.         Until $RESULT15 = 1
  1156.         If $RESULT15 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1157.         Do
  1158.             $RESULT16 = _IMAGESEARCH("GFX\Win7\minimalizuj.bmp", 1, $X, $Y, 20)
  1159.         Until $RESULT16 = 1
  1160.         If $RESULT16 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1161.         Do
  1162.             $RESULT17 = _IMAGESEARCH("GFX\Win7\sprzedaj2.bmp", 1, $X, $Y, 20)
  1163.         Until $RESULT17 = 1
  1164.         If $RESULT17 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1165.         Do
  1166.             $RESULT18 = _IMAGESEARCH("GFX\Win7\abort.bmp", 1, $X, $Y, 20)
  1167.         Until $RESULT18 = 1
  1168.         If $RESULT18 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1169.         Do
  1170.             $RESULT19 = _IMAGESEARCH("GFX\Win7\wcisnietywielokat.bmp", 1, $X, $Y, 20)
  1171.         Until $RESULT19 = 1
  1172.         If $RESULT19 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1173.         Do
  1174.             $RESULT12 = _IMAGESEARCH("GFX\WinXP\int3darkorbit.bmp", 1, $X, $Y, 20)
  1175.         Until $RESULT12 = 1
  1176.         If $RESULT12 = 1 Then MouseClick("left", $X, $Y, 2, 0)
  1177.         Do
  1178.             $RESULT13 = _IMAGESEARCH("GFX\Win7\flashapi.bmp", 1, $X, $Y, 20)
  1179.         Until $RESULT13 = 1
  1180.         If $RESULT13 = 1 Then MouseClick("left", $X, $Y, 2, 0)
  1181.         Do
  1182.             $RESULT14 = _IMAGESEARCH("GFX\Win7\inventory.bmp", 1, $X, $Y, 20)
  1183.         Until $RESULT14 = 1
  1184.         If $RESULT14 = 1 Then MouseClick("right", $X, $Y, 1, 0)
  1185.         Do
  1186.             $RESULT20 = _IMAGESEARCH("GFX\Win7\repeatadvanced.bmp", 1, $X, $Y, 20)
  1187.         Until $RESULT20 = 1
  1188.         If $RESULT20 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1189.         Sleep(250)
  1190.         Send("{ENTER}")
  1191.         Sleep(250)
  1192.         Do
  1193.             $RESULT21 = _IMAGESEARCH("GFX\Win7\int3darkorbit.bmp", 1, $X, $Y, 20)
  1194.         Until $RESULT21 = 1
  1195.         If $RESULT21 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1196.         Do
  1197.             $RESULT22 = _IMAGESEARCH("GFX\Win7\incomplete.bmp", 1, $X, $Y, 20)
  1198.         Until $RESULT22 = 1
  1199.         If $RESULT22 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1200.         Do
  1201.             $RESULT23 = _IMAGESEARCH("GFX\Win7\zamknij.bmp", 1, $X, $Y, 20)
  1202.         Until $RESULT23 = 1
  1203.         If $RESULT23 = 1 Then
  1204.             MouseClick("left", $X, $Y, 2, 0)
  1205.             MouseClick("left", $X - 74, $Y, 1, 0)
  1206.         EndIf
  1207.         Do
  1208.             $RESULT25 = _IMAGESEARCH("GFX\Win7\minimalizuj.bmp", 1, $X, $Y, 20)
  1209.         Until $RESULT25 = 1
  1210.         If $RESULT25 = 1 Then MouseClick("left", $X, $Y, 1, 0)
  1211.     WEnd
  1212. EndFunc
  1213.  
  1214.  
  1215. Func PAUZA()
  1216.     While 1
  1217.         Sleep(100)
  1218.     WEnd
  1219. EndFunc
  1220.  
  1221.  
  1222. Func STOP()
  1223.     Exit
  1224. EndFunc
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top