Best Python code snippet using AutoItDriverServer_python
dotExec.py
Source:dotExec.py
...184 pyautogui.click(637, 387)185 time.sleep(2)186 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))187 # time.sleep(1)188 # autoit.mouse_click("left", 641, 636)189 break190 if not lvlup:191 break192193print("connecting......")194time.sleep(1)195196while True:197 if pyautogui.locateOnScreen('./content/play.png'):198 pyautogui.click(pyautogui.locateOnScreen('./content/play.png'))199 break200201print("connecting.......")202time.sleep(2)203204while True:205 if pyautogui.locateOnScreen('./content/coop.png') or pyautogui.locateOnScreen('./content/coop1.png') or pyautogui.locateOnScreen('./content/coop2.png'):206 pyautogui.click(pyautogui.locateOnScreen('./content/coop.png') or pyautogui.locateOnScreen('./content/coop1.png') or pyautogui.locateOnScreen('./content/coop2.png'))207 break208209time.sleep(0.5)210211def newTab():212 cords7 = pyautogui.locateCenterOnScreen('./content/intro.png')213 pyautogui.click(cords7)214newTab()215216time.sleep(2)217218def newTab():219 cords8 = pyautogui.locateCenterOnScreen('./content/confirm.png')220 pyautogui.click(cords8)221newTab()222223clear()224print("Criando Lobby")225226227pyautogui.moveTo(0, 0)228229while True:230 if pyautogui.locateOnScreen('./content/findm.png'):231 pyautogui.click(pyautogui.locateOnScreen('./content/findm.png'))232 break233234print("Entrando em Fila")235236 #QUEUE237238while True:239 if pyautogui.locateCenterOnScreen('./content/sample1.png'):240 pyautogui.click('./content/sample1.png')241 print("Jogo aceito!")242 pyautogui.moveTo(0, 0)243244 if pyautogui.locateCenterOnScreen('./content/cancel.png'):245 print("Partida recusada")246 if pyautogui.locateCenterOnScreen('./content/choose.png'):247 print("Seleção de campeões!")248 break249250while True:251 champ = pyautogui.locateCenterOnScreen('./content/tristana.png') or pyautogui.locateCenterOnScreen('./content/ez.png') or pyautogui.locateCenterOnScreen('./content/morgana.png') or pyautogui.locateCenterOnScreen('./content/mf.png') or pyautogui.locateCenterOnScreen('./content/ahri.png') or pyautogui.locateCenterOnScreen('./content/lux.png') or pyautogui.locateCenterOnScreen('./content/master.png') or pyautogui.locateCenterOnScreen('./content/darius.png')252 if champ:253 pyautogui.click(champ)254 break255256time.sleep(1)257258while True:259 if pyautogui.locateCenterOnScreen('./content/lock.png'):260 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lock.png'))261 break262263clear()264265print(" _______ _________ _ _______ ______ _________")266print("( ____ \|\ /|\__ __/( ( /|( ___ )( ___ \ \__ __/")267print("| ( \/| ) ( | ) ( | \ ( || ( ) || ( ) ) ) ( ")268print("| (_____ | (___) | | | | \ | || | | || (__/ / | | ")269print("(_____ )| ___ | | | | (\ \) || | | || __ ( | | ")270print(" ) || ( ) | | | | | \ || | | || ( \ \ | | ")271print("/\____) || ) ( |___) (___| ) \ || (___) || )___) )___) (___")272print("\_______)|/ \|\_______/|/ )_)(_______)|/ \___/ \_______/")273274print("Esperando por jogadores")275276time.sleep(10)277278while True:279 if pyautogui.locateCenterOnScreen('./content/t1.png'):280 break281282print("Jogo Iniciado")283284time.sleep(2)285286pydirectinput.press('p')287288print("Comprando Itens")289290time.sleep(2)291autoit.mouse_click("right", 277, 170)292time.sleep(1)293autoit.mouse_click("right", 522, 178)294autoit.mouse_click("right", 522, 178)295296time.sleep(1)297298pydirectinput.press('esc')299300def newTab():301 pydirectinput.moveTo(539, 354)302newTab()303304print("Jogando...")305306while True: #JOGANDO307 pydirectinput.keyDown('f2')308 time.sleep(1)309 autoit.mouse_click("right", 539, 354)310 if pyautogui.locateCenterOnScreen('./content/win1.png'):311 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))312 break313 autoit.mouse_click("right", 471, 306)314 if pyautogui.locateCenterOnScreen('./content/win1.png'):315 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))316 break317 autoit.mouse_click("right", 481, 443)318 if pyautogui.locateCenterOnScreen('./content/win1.png'):319 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))320 break321 autoit.mouse_click("right", 539, 354)322 if pyautogui.locateCenterOnScreen('./content/win1.png'):323 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))324 break325 autoit.mouse_click("right", 539, 354)326 if pyautogui.locateCenterOnScreen('./content/win1.png'):327 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))328 break329 autoit.mouse_click("right", 471, 306)330 if pyautogui.locateCenterOnScreen('./content/win1.png'):331 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))332 break333 autoit.mouse_click("right", 481, 443)334 if pyautogui.locateCenterOnScreen('./content/win1.png'):335 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))336 break337 autoit.mouse_click("right", 539, 354)338 if pyautogui.locateCenterOnScreen('./content/win1.png'):339 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))340 break341 autoit.mouse_click("right", 539, 354)342 if pyautogui.locateCenterOnScreen('./content/win1.png'):343 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))344 break345 autoit.mouse_click("right", 471, 306)346 if pyautogui.locateCenterOnScreen('./content/win1.png'):347 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))348 break349 autoit.mouse_click("right", 481, 443)350 if pyautogui.locateCenterOnScreen('./content/win1.png'):351 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))352 break353 autoit.mouse_click("right", 539, 354)354 if pyautogui.locateCenterOnScreen('./content/win1.png'):355 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))356 break357 autoit.mouse_click("right", 539, 354)358 if pyautogui.locateCenterOnScreen('./content/win1.png'):359 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))360 break361 autoit.mouse_click("right", 471, 306)362 if pyautogui.locateCenterOnScreen('./content/win1.png'):363 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))364 break365 autoit.mouse_click("right", 481, 443)366 if pyautogui.locateCenterOnScreen('./content/win1.png'):367 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))368 break369 autoit.mouse_click("right", 539, 354)370 if pyautogui.locateCenterOnScreen('./content/win1.png'):371 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))372 break373 autoit.mouse_click("right", 539, 354)374 if pyautogui.locateCenterOnScreen('./content/win1.png'):375 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))376 break377 autoit.mouse_click("right", 471, 306)378 if pyautogui.locateCenterOnScreen('./content/win1.png'):379 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))380 break381 autoit.mouse_click("right", 481, 443)382 if pyautogui.locateCenterOnScreen('./content/win1.png'):383 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))384 break385 if pyautogui.locateCenterOnScreen('./content/win1.png'):386 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))387 break388 autoit.mouse_click("right", 539, 354)389 if pyautogui.locateCenterOnScreen('./content/win1.png'):390 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))391 break392 autoit.mouse_click("right", 539, 354)393 if pyautogui.locateCenterOnScreen('./content/win1.png'):394 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))395 break396 autoit.mouse_click("right", 471, 306)397 if pyautogui.locateCenterOnScreen('./content/win1.png'):398 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))399 break400 autoit.mouse_click("right", 481, 443)401 if pyautogui.locateCenterOnScreen('./content/win1.png'):402 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))403 break404 autoit.mouse_click("right", 539, 354)405 if pyautogui.locateCenterOnScreen('./content/win1.png'):406 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))407 break408 autoit.mouse_click("right", 539, 354)409 if pyautogui.locateCenterOnScreen('./content/win1.png'):410 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))411 break412 autoit.mouse_click("right", 471, 306)413 if pyautogui.locateCenterOnScreen('./content/win1.png'):414 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))415 break416 autoit.mouse_click("right", 481, 443)417 if pyautogui.locateCenterOnScreen('./content/win1.png'):418 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))419 break420 autoit.mouse_click("right", 539, 354)421 if pyautogui.locateCenterOnScreen('./content/win1.png'):422 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))423 break424 autoit.mouse_click("right", 539, 354)425 if pyautogui.locateCenterOnScreen('./content/win1.png'):426 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))427 break428 autoit.mouse_click("right", 471, 306)429 if pyautogui.locateCenterOnScreen('./content/win1.png'):430 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))431 break432 autoit.mouse_click("right", 481, 443)433 if pyautogui.locateCenterOnScreen('./content/win1.png'):434 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))435 break436 autoit.mouse_click("right", 539, 354)437 if pyautogui.locateCenterOnScreen('./content/win1.png'):438 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))439 break440 autoit.mouse_click("right", 539, 354)441 if pyautogui.locateCenterOnScreen('./content/win1.png'):442 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))443 break444 autoit.mouse_click("right", 471, 306)445 if pyautogui.locateCenterOnScreen('./content/win1.png'):446 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))447 break448 autoit.mouse_click("right", 481, 443)449 if pyautogui.locateCenterOnScreen('./content/win1.png'):450 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))451 break452 autoit.mouse_click("right", 539, 354)453 if pyautogui.locateCenterOnScreen('./content/win1.png'):454 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))455 break456 autoit.mouse_click("right", 539, 354)457 if pyautogui.locateCenterOnScreen('./content/win1.png'):458 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))459 break460 autoit.mouse_click("right", 471, 306)461 if pyautogui.locateCenterOnScreen('./content/win1.png'):462 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))463 break464 autoit.mouse_click("right", 481, 443)465 if pyautogui.locateCenterOnScreen('./content/win1.png'):466 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))467 break468 autoit.mouse_click("right", 539, 354)469 if pyautogui.locateCenterOnScreen('./content/win1.png'):470 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))471 break472 autoit.mouse_click("right", 539, 354)473 if pyautogui.locateCenterOnScreen('./content/win1.png'):474 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))475 break476 autoit.mouse_click("right", 471, 306)477 if pyautogui.locateCenterOnScreen('./content/win1.png'):478 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))479 break480 autoit.mouse_click("right", 481, 443)481 if pyautogui.locateCenterOnScreen('./content/win1.png'):482 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))483 break484 autoit.mouse_click("right", 539, 354)485 if pyautogui.locateCenterOnScreen('./content/win1.png'):486 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))487 break488 autoit.mouse_click("right", 539, 354)489 if pyautogui.locateCenterOnScreen('./content/win1.png'):490 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))491 break492 autoit.mouse_click("right", 471, 306)493 if pyautogui.locateCenterOnScreen('./content/win1.png'):494 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))495 break496 autoit.mouse_click("right", 481, 443)497 if pyautogui.locateCenterOnScreen('./content/win1.png'):498 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))499 break500 autoit.mouse_click("right", 539, 354)501 if pyautogui.locateCenterOnScreen('./content/win1.png'):502 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))503 break504 autoit.mouse_click("right", 539, 354)505 if pyautogui.locateCenterOnScreen('./content/win1.png'):506 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))507 break508 autoit.mouse_click("right", 471, 306)509 if pyautogui.locateCenterOnScreen('./content/win1.png'):510 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))511 break512 autoit.mouse_click("right", 481, 443)513 if pyautogui.locateCenterOnScreen('./content/win1.png'):514 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))515 break516 autoit.mouse_click("right", 539, 354)517 if pyautogui.locateCenterOnScreen('./content/win1.png'):518 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))519 break520 autoit.mouse_click("right", 539, 354)521 if pyautogui.locateCenterOnScreen('./content/win1.png'):522 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))523 break524 autoit.mouse_click("right", 471, 306)525 if pyautogui.locateCenterOnScreen('./content/win1.png'):526 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))527 break528 autoit.mouse_click("right", 481, 443)529 if pyautogui.locateCenterOnScreen('./content/win1.png'):530 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))531 break532 autoit.mouse_click("right", 539, 354)533 if pyautogui.locateCenterOnScreen('./content/win1.png'):534 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))535 break536 autoit.mouse_click("right", 539, 354)537 if pyautogui.locateCenterOnScreen('./content/win1.png'):538 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))539 break540 autoit.mouse_click("right", 471, 306)541 if pyautogui.locateCenterOnScreen('./content/win1.png'):542 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))543 break544 autoit.mouse_click("right", 481, 443)545 if pyautogui.locateCenterOnScreen('./content/win1.png'):546 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))547 break548 autoit.mouse_click("right", 539, 354)549 if pyautogui.locateCenterOnScreen('./content/win1.png'):550 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))551 break552 autoit.mouse_click("right", 539, 354)553 if pyautogui.locateCenterOnScreen('./content/win1.png'):554 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))555 break556 autoit.mouse_click("right", 471, 306)557 if pyautogui.locateCenterOnScreen('./content/win1.png'):558 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))559 break560 autoit.mouse_click("right", 481, 443)561 if pyautogui.locateCenterOnScreen('./content/win1.png'):562 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))563 break564 autoit.mouse_click("right", 539, 354)565 if pyautogui.locateCenterOnScreen('./content/win1.png'):566 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))567 break568 autoit.mouse_click("right", 539, 354)569 if pyautogui.locateCenterOnScreen('./content/win1.png'):570 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))571 break572 autoit.mouse_click("right", 471, 306)573 if pyautogui.locateCenterOnScreen('./content/win1.png'):574 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))575 break576 autoit.mouse_click("right", 481, 443)577 if pyautogui.locateCenterOnScreen('./content/win1.png'):578 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))579 break580 autoit.mouse_click("right", 539, 354)581 if pyautogui.locateCenterOnScreen('./content/win1.png'):582 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))583 break584 autoit.mouse_click("right", 539, 354)585 if pyautogui.locateCenterOnScreen('./content/win1.png'):586 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))587 break588 autoit.mouse_click("right", 471, 306)589 if pyautogui.locateCenterOnScreen('./content/win1.png'):590 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))591 break592 autoit.mouse_click("right", 481, 443)593 if pyautogui.locateCenterOnScreen('./content/win1.png'):594 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))595 break596 autoit.mouse_click("right", 539, 354)597 if pyautogui.locateCenterOnScreen('./content/win1.png'):598 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))599 break600 autoit.mouse_click("right", 539, 354)601 if pyautogui.locateCenterOnScreen('./content/win1.png'):602 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))603 break604 autoit.mouse_click("right", 471, 306)605 if pyautogui.locateCenterOnScreen('./content/win1.png'):606 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))607 break608 autoit.mouse_click("right", 481, 443)609 if pyautogui.locateCenterOnScreen('./content/win1.png'):610 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))611 break612 autoit.mouse_click("right", 539, 354)613 if pyautogui.locateCenterOnScreen('./content/win1.png'):614 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))615 break616 autoit.mouse_click("right", 539, 354)617 if pyautogui.locateCenterOnScreen('./content/win1.png'):618 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))619 break620 autoit.mouse_click("right", 471, 306)621 if pyautogui.locateCenterOnScreen('./content/win1.png'):622 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))623 break624 autoit.mouse_click("right", 481, 443)625 if pyautogui.locateCenterOnScreen('./content/win1.png'):626 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))627 break628 autoit.mouse_click("right", 539, 354)629 if pyautogui.locateCenterOnScreen('./content/win1.png'):630 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))631 break632 autoit.mouse_click("right", 539, 354)633 if pyautogui.locateCenterOnScreen('./content/win1.png'):634 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))635 break636 autoit.mouse_click("right", 471, 306)637 if pyautogui.locateCenterOnScreen('./content/win1.png'):638 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))639 break640 autoit.mouse_click("right", 481, 443)641 if pyautogui.locateCenterOnScreen('./content/win1.png'):642 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))643 break644 autoit.mouse_click("right", 539, 354)645 if pyautogui.locateCenterOnScreen('./content/win1.png'):646 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))647 break648 autoit.mouse_click("right", 539, 354)649 if pyautogui.locateCenterOnScreen('./content/win1.png'):650 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))651 break652 autoit.mouse_click("right", 471, 306)653 if pyautogui.locateCenterOnScreen('./content/win1.png'):654 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))655 break656 autoit.mouse_click("right", 481, 443)657 if pyautogui.locateCenterOnScreen('./content/win1.png'):658 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))659 break660 autoit.mouse_click("right", 539, 354)661 pydirectinput.keyUp("f2")662 if pyautogui.locateCenterOnScreen('./content/win1.png'):663 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))664 break665 ##################################################################666 pydirectinput.keyDown('f3')667 time.sleep(1)668 autoit.mouse_click("right", 539, 354)669 if pyautogui.locateCenterOnScreen('./content/win1.png'):670 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))671 break672 autoit.mouse_click("right", 471, 306)673 if pyautogui.locateCenterOnScreen('./content/win1.png'):674 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))675 break676 autoit.mouse_click("right", 481, 443)677 if pyautogui.locateCenterOnScreen('./content/win1.png'):678 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))679 break680 autoit.mouse_click("right", 539, 354)681 if pyautogui.locateCenterOnScreen('./content/win1.png'):682 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))683 break684 autoit.mouse_click("right", 539, 354)685 if pyautogui.locateCenterOnScreen('./content/win1.png'):686 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))687 break688 autoit.mouse_click("right", 471, 306)689 if pyautogui.locateCenterOnScreen('./content/win1.png'):690 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))691 break692 autoit.mouse_click("right", 481, 443)693 if pyautogui.locateCenterOnScreen('./content/win1.png'):694 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))695 break696 autoit.mouse_click("right", 539, 354)697 if pyautogui.locateCenterOnScreen('./content/win1.png'):698 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))699 break700 autoit.mouse_click("right", 539, 354)701 if pyautogui.locateCenterOnScreen('./content/win1.png'):702 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))703 break704 autoit.mouse_click("right", 471, 306)705 if pyautogui.locateCenterOnScreen('./content/win1.png'):706 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))707 break708 autoit.mouse_click("right", 481, 443)709 if pyautogui.locateCenterOnScreen('./content/win1.png'):710 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))711 break712 autoit.mouse_click("right", 539, 354)713 if pyautogui.locateCenterOnScreen('./content/win1.png'):714 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))715 break716 autoit.mouse_click("right", 539, 354)717 if pyautogui.locateCenterOnScreen('./content/win1.png'):718 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))719 break720 autoit.mouse_click("right", 471, 306)721 if pyautogui.locateCenterOnScreen('./content/win1.png'):722 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))723 break724 autoit.mouse_click("right", 481, 443)725 if pyautogui.locateCenterOnScreen('./content/win1.png'):726 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))727 break728 autoit.mouse_click("right", 539, 354)729 if pyautogui.locateCenterOnScreen('./content/win1.png'):730 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))731 break732 autoit.mouse_click("right", 539, 354)733 if pyautogui.locateCenterOnScreen('./content/win1.png'):734 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))735 break736 autoit.mouse_click("right", 471, 306)737 if pyautogui.locateCenterOnScreen('./content/win1.png'):738 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))739 break740 autoit.mouse_click("right", 481, 443)741 if pyautogui.locateCenterOnScreen('./content/win1.png'):742 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))743 break744 if pyautogui.locateCenterOnScreen('./content/win1.png'):745 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))746 break747 autoit.mouse_click("right", 539, 354)748 if pyautogui.locateCenterOnScreen('./content/win1.png'):749 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))750 break751 autoit.mouse_click("right", 539, 354)752 if pyautogui.locateCenterOnScreen('./content/win1.png'):753 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))754 break755 autoit.mouse_click("right", 471, 306)756 if pyautogui.locateCenterOnScreen('./content/win1.png'):757 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))758 break759 autoit.mouse_click("right", 481, 443)760 if pyautogui.locateCenterOnScreen('./content/win1.png'):761 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))762 break763 autoit.mouse_click("right", 539, 354)764 if pyautogui.locateCenterOnScreen('./content/win1.png'):765 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))766 break767 autoit.mouse_click("right", 539, 354)768 if pyautogui.locateCenterOnScreen('./content/win1.png'):769 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))770 break771 autoit.mouse_click("right", 471, 306)772 if pyautogui.locateCenterOnScreen('./content/win1.png'):773 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))774 break775 autoit.mouse_click("right", 481, 443)776 if pyautogui.locateCenterOnScreen('./content/win1.png'):777 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))778 break779 autoit.mouse_click("right", 539, 354)780 if pyautogui.locateCenterOnScreen('./content/win1.png'):781 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))782 break783 autoit.mouse_click("right", 539, 354)784 if pyautogui.locateCenterOnScreen('./content/win1.png'):785 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))786 break787 autoit.mouse_click("right", 471, 306)788 if pyautogui.locateCenterOnScreen('./content/win1.png'):789 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))790 break791 autoit.mouse_click("right", 481, 443)792 if pyautogui.locateCenterOnScreen('./content/win1.png'):793 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))794 break795 autoit.mouse_click("right", 539, 354)796 if pyautogui.locateCenterOnScreen('./content/win1.png'):797 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))798 break799 autoit.mouse_click("right", 539, 354)800 if pyautogui.locateCenterOnScreen('./content/win1.png'):801 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))802 break803 autoit.mouse_click("right", 471, 306)804 if pyautogui.locateCenterOnScreen('./content/win1.png'):805 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))806 break807 autoit.mouse_click("right", 481, 443)808 if pyautogui.locateCenterOnScreen('./content/win1.png'):809 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))810 break811 autoit.mouse_click("right", 539, 354)812 if pyautogui.locateCenterOnScreen('./content/win1.png'):813 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))814 break815 autoit.mouse_click("right", 539, 354)816 if pyautogui.locateCenterOnScreen('./content/win1.png'):817 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))818 break819 autoit.mouse_click("right", 471, 306)820 if pyautogui.locateCenterOnScreen('./content/win1.png'):821 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))822 break823 autoit.mouse_click("right", 481, 443)824 if pyautogui.locateCenterOnScreen('./content/win1.png'):825 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))826 break827 autoit.mouse_click("right", 539, 354)828 if pyautogui.locateCenterOnScreen('./content/win1.png'):829 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))830 break831 autoit.mouse_click("right", 539, 354)832 if pyautogui.locateCenterOnScreen('./content/win1.png'):833 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))834 break835 autoit.mouse_click("right", 471, 306)836 if pyautogui.locateCenterOnScreen('./content/win1.png'):837 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))838 break839 autoit.mouse_click("right", 481, 443)840 if pyautogui.locateCenterOnScreen('./content/win1.png'):841 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))842 break843 autoit.mouse_click("right", 539, 354)844 if pyautogui.locateCenterOnScreen('./content/win1.png'):845 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))846 break847 autoit.mouse_click("right", 539, 354)848 if pyautogui.locateCenterOnScreen('./content/win1.png'):849 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))850 break851 autoit.mouse_click("right", 471, 306)852 if pyautogui.locateCenterOnScreen('./content/win1.png'):853 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))854 break855 autoit.mouse_click("right", 481, 443)856 if pyautogui.locateCenterOnScreen('./content/win1.png'):857 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))858 break859 autoit.mouse_click("right", 539, 354)860 if pyautogui.locateCenterOnScreen('./content/win1.png'):861 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))862 break863 autoit.mouse_click("right", 539, 354)864 if pyautogui.locateCenterOnScreen('./content/win1.png'):865 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))866 break867 autoit.mouse_click("right", 471, 306)868 if pyautogui.locateCenterOnScreen('./content/win1.png'):869 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))870 break871 autoit.mouse_click("right", 481, 443)872 if pyautogui.locateCenterOnScreen('./content/win1.png'):873 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))874 break875 autoit.mouse_click("right", 539, 354)876 if pyautogui.locateCenterOnScreen('./content/win1.png'):877 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))878 break879 autoit.mouse_click("right", 539, 354)880 if pyautogui.locateCenterOnScreen('./content/win1.png'):881 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))882 break883 autoit.mouse_click("right", 471, 306)884 if pyautogui.locateCenterOnScreen('./content/win1.png'):885 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))886 break887 autoit.mouse_click("right", 481, 443)888 if pyautogui.locateCenterOnScreen('./content/win1.png'):889 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))890 break891 autoit.mouse_click("right", 539, 354)892 if pyautogui.locateCenterOnScreen('./content/win1.png'):893 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))894 break895 autoit.mouse_click("right", 539, 354)896 if pyautogui.locateCenterOnScreen('./content/win1.png'):897 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))898 break899 autoit.mouse_click("right", 471, 306)900 if pyautogui.locateCenterOnScreen('./content/win1.png'):901 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))902 break903 autoit.mouse_click("right", 481, 443)904 if pyautogui.locateCenterOnScreen('./content/win1.png'):905 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))906 break907 autoit.mouse_click("right", 539, 354)908 if pyautogui.locateCenterOnScreen('./content/win1.png'):909 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))910 break911 autoit.mouse_click("right", 539, 354)912 if pyautogui.locateCenterOnScreen('./content/win1.png'):913 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))914 break915 autoit.mouse_click("right", 471, 306)916 if pyautogui.locateCenterOnScreen('./content/win1.png'):917 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))918 break919 autoit.mouse_click("right", 481, 443)920 if pyautogui.locateCenterOnScreen('./content/win1.png'):921 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))922 break923 autoit.mouse_click("right", 539, 354)924 if pyautogui.locateCenterOnScreen('./content/win1.png'):925 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))926 break927 autoit.mouse_click("right", 539, 354)928 if pyautogui.locateCenterOnScreen('./content/win1.png'):929 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))930 break931 autoit.mouse_click("right", 471, 306)932 if pyautogui.locateCenterOnScreen('./content/win1.png'):933 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))934 break935 autoit.mouse_click("right", 481, 443)936 if pyautogui.locateCenterOnScreen('./content/win1.png'):937 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))938 break939 autoit.mouse_click("right", 539, 354)940 if pyautogui.locateCenterOnScreen('./content/win1.png'):941 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))942 break943 autoit.mouse_click("right", 539, 354)944 if pyautogui.locateCenterOnScreen('./content/win1.png'):945 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))946 break947 autoit.mouse_click("right", 471, 306)948 if pyautogui.locateCenterOnScreen('./content/win1.png'):949 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))950 break951 autoit.mouse_click("right", 481, 443)952 if pyautogui.locateCenterOnScreen('./content/win1.png'):953 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))954 break955 autoit.mouse_click("right", 539, 354)956 if pyautogui.locateCenterOnScreen('./content/win1.png'):957 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))958 break959 autoit.mouse_click("right", 539, 354)960 if pyautogui.locateCenterOnScreen('./content/win1.png'):961 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))962 break963 autoit.mouse_click("right", 471, 306)964 if pyautogui.locateCenterOnScreen('./content/win1.png'):965 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))966 break967 autoit.mouse_click("right", 481, 443)968 if pyautogui.locateCenterOnScreen('./content/win1.png'):969 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))970 break971 autoit.mouse_click("right", 539, 354)972 if pyautogui.locateCenterOnScreen('./content/win1.png'):973 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))974 break975 autoit.mouse_click("right", 539, 354)976 if pyautogui.locateCenterOnScreen('./content/win1.png'):977 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))978 break979 autoit.mouse_click("right", 471, 306)980 if pyautogui.locateCenterOnScreen('./content/win1.png'):981 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))982 break983 autoit.mouse_click("right", 481, 443)984 if pyautogui.locateCenterOnScreen('./content/win1.png'):985 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))986 break987 autoit.mouse_click("right", 539, 354)988 if pyautogui.locateCenterOnScreen('./content/win1.png'):989 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))990 break991 autoit.mouse_click("right", 539, 354)992 if pyautogui.locateCenterOnScreen('./content/win1.png'):993 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))994 break995 autoit.mouse_click("right", 471, 306)996 if pyautogui.locateCenterOnScreen('./content/win1.png'):997 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))998 break999 autoit.mouse_click("right", 481, 443)1000 if pyautogui.locateCenterOnScreen('./content/win1.png'):1001 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1002 break1003 autoit.mouse_click("right", 539, 354)1004 if pyautogui.locateCenterOnScreen('./content/win1.png'):1005 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1006 break1007 autoit.mouse_click("right", 539, 354)1008 if pyautogui.locateCenterOnScreen('./content/win1.png'):1009 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1010 break1011 autoit.mouse_click("right", 471, 306)1012 if pyautogui.locateCenterOnScreen('./content/win1.png'):1013 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1014 break1015 autoit.mouse_click("right", 481, 443)1016 if pyautogui.locateCenterOnScreen('./content/win1.png'):1017 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1018 break1019 autoit.mouse_click("right", 539, 354)1020 pydirectinput.keyUp("f3")1021 if pyautogui.locateCenterOnScreen('./content/win1.png'):1022 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1023 break10241025print("Jogo finalizado")10261027time.sleep(60)10281029while True:1030 if pyautogui.locateOnScreen('./content/email.png'):1031 pyautogui.click(pyautogui.locateOnScreen('./content/x2.png'))1032 break1033 if not pyautogui.locateOnScreen('./content/email.png'):1034 break1035103610371038#after game1039while True:1040 lvlup = pyautogui.locateCenterOnScreen('./content/missions.png') or pyautogui.locateCenterOnScreen('./content/bok.png') or pyautogui.locateCenterOnScreen('./content/daily.png')1041 if lvlup:1042 time.sleep(5)1043 pyautogui.click(637, 366)1044 time.sleep(2)1045 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1046 # time.sleep(1)1047 # autoit.mouse_click("left", 641, 636)1048 break1049 if not lvlup:1050 break10511052while True:1053 lvlup1 = pyautogui.locateCenterOnScreen('./content/lvlup1.png')1054 if lvlup1:1055 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1056 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1057 time.sleep(2)1058 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1059 time.sleep(1)1060 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1061 time.sleep(1)1062 break1063 if not lvlup1:1064 break10651066# while True:1067# daily = pyautogui.locateCenterOnScreen('.content/bok.png')1068# if daily:1069# autoit.mouse_click("left", 634, 364)1070# time.sleep(1)1071# autoit.mouse_click("left", 636, 596)1072# break1073# if not daily:1074# break10751076while True:1077 missions = pyautogui.locateCenterOnScreen('./content/missions.png')1078 if missions:1079 pyautogui.click(637, 598)1080 time.sleep(1)1081 break1082 if not missions:1083 break10841085while True:1086 if pyautogui.locateOnScreen('./content/againp.png'):1087 pyautogui.click(pyautogui.locateOnScreen('./content/againp.png'))1088 break10891090pyautogui.moveTo(0, 0)109110921093#RECOMEÃA10941095while True:10961097 clear()10981099 print(" _______ _________ _ _______ ______ _________")1100 print("( ____ \|\ /|\__ __/( ( /|( ___ )( ___ \ \__ __/")1101 print("| ( \/| ) ( | ) ( | \ ( || ( ) || ( ) ) ) ( ")1102 print("| (_____ | (___) | | | | \ | || | | || (__/ / | | ")1103 print("(_____ )| ___ | | | | (\ \) || | | || __ ( | | ")1104 print(" ) || ( ) | | | | | \ || | | || ( \ \ | | ")1105 print("/\____) || ) ( |___) (___| ) \ || (___) || )___) )___) (___")1106 print("\_______)|/ \|\_______/|/ )_)(_______)|/ \___/ \_______/")11071108 time.sleep(5)110911101111 def newTab():1112 cords9 = pyautogui.locateCenterOnScreen('./content/findm.png')1113 pyautogui.click(cords9)1114 newTab()11151116 print("Na Fila...")11171118 while True:1119 if pyautogui.locateCenterOnScreen('./content/sample1.png'):1120 pyautogui.click('./content/sample1.png')1121 print("Jogo aceito!")1122 pyautogui.moveTo(0, 0)11231124 if pyautogui.locateCenterOnScreen('./content/cancel.png'):1125 print("Partida recusada")1126 if pyautogui.locateCenterOnScreen('./content/choose.png'):1127 ("Seleção de campeões!")1128 break11291130 while True:1131 champ = pyautogui.locateCenterOnScreen('./content/tristana.png') or pyautogui.locateCenterOnScreen('./content/ez.png') or pyautogui.locateCenterOnScreen('./content/morgana.png') or pyautogui.locateCenterOnScreen('./content/mf.png') or pyautogui.locateCenterOnScreen('./content/ahri.png') or pyautogui.locateCenterOnScreen('./content/lux.png') or pyautogui.locateCenterOnScreen('./content/master.png') or pyautogui.locateCenterOnScreen('./content/darius.png')1132 if champ:1133 pyautogui.click(champ)1134 break11351136 time.sleep(1)11371138 while True:1139 if pyautogui.locateCenterOnScreen('./content/lock.png'):1140 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lock.png'))1141 break11421143 clear()11441145 print(" _______ _________ _ _______ ______ _________")1146 print("( ____ \|\ /|\__ __/( ( /|( ___ )( ___ \ \__ __/")1147 print("| ( \/| ) ( | ) ( | \ ( || ( ) || ( ) ) ) ( ")1148 print("| (_____ | (___) | | | | \ | || | | || (__/ / | | ")1149 print("(_____ )| ___ | | | | (\ \) || | | || __ ( | | ")1150 print(" ) || ( ) | | | | | \ || | | || ( \ \ | | ")1151 print("/\____) || ) ( |___) (___| ) \ || (___) || )___) )___) (___")1152 print("\_______)|/ \|\_______/|/ )_)(_______)|/ \___/ \_______/")11531154 print("Esperando por jogadores")11551156 time.sleep(3)11571158 print("Localizando servidores...")11591160 time.sleep(10)11611162 while True:1163 if pyautogui.locateCenterOnScreen('./content/t1.png'):1164 break11651166 print("Jogo Iniciado")11671168 time.sleep(2)11691170 pydirectinput.press('p')11711172 print("Comprando Itens")11731174 time.sleep(2)1175 autoit.mouse_click("right", 277, 170)1176 time.sleep(1)1177 autoit.mouse_click("right", 522, 178)1178 autoit.mouse_click("right", 522, 178)11791180 time.sleep(1)11811182 pydirectinput.press('esc')11831184 def newTab():1185 pydirectinput.moveTo(539, 354)1186 newTab()11871188 print("Jogando...")11891190 while True: # JOGANDO1191 pydirectinput.keyDown('f2')1192 time.sleep(1)1193 autoit.mouse_click("right", 539, 354)1194 if pyautogui.locateCenterOnScreen('./content/win1.png'):1195 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1196 break1197 autoit.mouse_click("right", 471, 306)1198 if pyautogui.locateCenterOnScreen('./content/win1.png'):1199 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1200 break1201 autoit.mouse_click("right", 481, 443)1202 if pyautogui.locateCenterOnScreen('./content/win1.png'):1203 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1204 break1205 autoit.mouse_click("right", 539, 354)1206 if pyautogui.locateCenterOnScreen('./content/win1.png'):1207 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1208 break1209 autoit.mouse_click("right", 539, 354)1210 if pyautogui.locateCenterOnScreen('./content/win1.png'):1211 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1212 break1213 autoit.mouse_click("right", 471, 306)1214 if pyautogui.locateCenterOnScreen('./content/win1.png'):1215 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1216 break1217 autoit.mouse_click("right", 481, 443)1218 if pyautogui.locateCenterOnScreen('./content/win1.png'):1219 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1220 break1221 autoit.mouse_click("right", 539, 354)1222 if pyautogui.locateCenterOnScreen('./content/win1.png'):1223 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1224 break1225 autoit.mouse_click("right", 539, 354)1226 if pyautogui.locateCenterOnScreen('./content/win1.png'):1227 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1228 break1229 autoit.mouse_click("right", 471, 306)1230 if pyautogui.locateCenterOnScreen('./content/win1.png'):1231 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1232 break1233 autoit.mouse_click("right", 481, 443)1234 if pyautogui.locateCenterOnScreen('./content/win1.png'):1235 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1236 break1237 autoit.mouse_click("right", 539, 354)1238 if pyautogui.locateCenterOnScreen('./content/win1.png'):1239 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1240 break1241 autoit.mouse_click("right", 539, 354)1242 if pyautogui.locateCenterOnScreen('./content/win1.png'):1243 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1244 break1245 autoit.mouse_click("right", 471, 306)1246 if pyautogui.locateCenterOnScreen('./content/win1.png'):1247 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1248 break1249 autoit.mouse_click("right", 481, 443)1250 if pyautogui.locateCenterOnScreen('./content/win1.png'):1251 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1252 break1253 autoit.mouse_click("right", 539, 354)1254 if pyautogui.locateCenterOnScreen('./content/win1.png'):1255 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1256 break1257 autoit.mouse_click("right", 539, 354)1258 if pyautogui.locateCenterOnScreen('./content/win1.png'):1259 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1260 break1261 autoit.mouse_click("right", 471, 306)1262 if pyautogui.locateCenterOnScreen('./content/win1.png'):1263 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1264 break1265 autoit.mouse_click("right", 481, 443)1266 if pyautogui.locateCenterOnScreen('./content/win1.png'):1267 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1268 break1269 if pyautogui.locateCenterOnScreen('./content/win1.png'):1270 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1271 break1272 autoit.mouse_click("right", 539, 354)1273 if pyautogui.locateCenterOnScreen('./content/win1.png'):1274 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1275 break1276 autoit.mouse_click("right", 539, 354)1277 if pyautogui.locateCenterOnScreen('./content/win1.png'):1278 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1279 break1280 autoit.mouse_click("right", 471, 306)1281 if pyautogui.locateCenterOnScreen('./content/win1.png'):1282 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1283 break1284 autoit.mouse_click("right", 481, 443)1285 if pyautogui.locateCenterOnScreen('./content/win1.png'):1286 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1287 break1288 autoit.mouse_click("right", 539, 354)1289 if pyautogui.locateCenterOnScreen('./content/win1.png'):1290 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1291 break1292 autoit.mouse_click("right", 539, 354)1293 if pyautogui.locateCenterOnScreen('./content/win1.png'):1294 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1295 break1296 autoit.mouse_click("right", 471, 306)1297 if pyautogui.locateCenterOnScreen('./content/win1.png'):1298 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1299 break1300 autoit.mouse_click("right", 481, 443)1301 if pyautogui.locateCenterOnScreen('./content/win1.png'):1302 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1303 break1304 autoit.mouse_click("right", 539, 354)1305 if pyautogui.locateCenterOnScreen('./content/win1.png'):1306 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1307 break1308 autoit.mouse_click("right", 539, 354)1309 if pyautogui.locateCenterOnScreen('./content/win1.png'):1310 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1311 break1312 autoit.mouse_click("right", 471, 306)1313 if pyautogui.locateCenterOnScreen('./content/win1.png'):1314 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1315 break1316 autoit.mouse_click("right", 481, 443)1317 if pyautogui.locateCenterOnScreen('./content/win1.png'):1318 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1319 break1320 autoit.mouse_click("right", 539, 354)1321 if pyautogui.locateCenterOnScreen('./content/win1.png'):1322 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1323 break1324 autoit.mouse_click("right", 539, 354)1325 if pyautogui.locateCenterOnScreen('./content/win1.png'):1326 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1327 break1328 autoit.mouse_click("right", 471, 306)1329 if pyautogui.locateCenterOnScreen('./content/win1.png'):1330 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1331 break1332 autoit.mouse_click("right", 481, 443)1333 if pyautogui.locateCenterOnScreen('./content/win1.png'):1334 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1335 break1336 autoit.mouse_click("right", 539, 354)1337 if pyautogui.locateCenterOnScreen('./content/win1.png'):1338 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1339 break1340 autoit.mouse_click("right", 539, 354)1341 if pyautogui.locateCenterOnScreen('./content/win1.png'):1342 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1343 break1344 autoit.mouse_click("right", 471, 306)1345 if pyautogui.locateCenterOnScreen('./content/win1.png'):1346 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1347 break1348 autoit.mouse_click("right", 481, 443)1349 if pyautogui.locateCenterOnScreen('./content/win1.png'):1350 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1351 break1352 autoit.mouse_click("right", 539, 354)1353 if pyautogui.locateCenterOnScreen('./content/win1.png'):1354 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1355 break1356 autoit.mouse_click("right", 539, 354)1357 if pyautogui.locateCenterOnScreen('./content/win1.png'):1358 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1359 break1360 autoit.mouse_click("right", 471, 306)1361 if pyautogui.locateCenterOnScreen('./content/win1.png'):1362 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1363 break1364 autoit.mouse_click("right", 481, 443)1365 if pyautogui.locateCenterOnScreen('./content/win1.png'):1366 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1367 break1368 autoit.mouse_click("right", 539, 354)1369 if pyautogui.locateCenterOnScreen('./content/win1.png'):1370 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1371 break1372 autoit.mouse_click("right", 539, 354)1373 if pyautogui.locateCenterOnScreen('./content/win1.png'):1374 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1375 break1376 autoit.mouse_click("right", 471, 306)1377 if pyautogui.locateCenterOnScreen('./content/win1.png'):1378 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1379 break1380 autoit.mouse_click("right", 481, 443)1381 if pyautogui.locateCenterOnScreen('./content/win1.png'):1382 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1383 break1384 autoit.mouse_click("right", 539, 354)1385 if pyautogui.locateCenterOnScreen('./content/win1.png'):1386 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1387 break1388 autoit.mouse_click("right", 539, 354)1389 if pyautogui.locateCenterOnScreen('./content/win1.png'):1390 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1391 break1392 autoit.mouse_click("right", 471, 306)1393 if pyautogui.locateCenterOnScreen('./content/win1.png'):1394 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1395 break1396 autoit.mouse_click("right", 481, 443)1397 if pyautogui.locateCenterOnScreen('./content/win1.png'):1398 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1399 break1400 autoit.mouse_click("right", 539, 354)1401 if pyautogui.locateCenterOnScreen('./content/win1.png'):1402 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1403 break1404 autoit.mouse_click("right", 539, 354)1405 if pyautogui.locateCenterOnScreen('./content/win1.png'):1406 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1407 break1408 autoit.mouse_click("right", 471, 306)1409 if pyautogui.locateCenterOnScreen('./content/win1.png'):1410 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1411 break1412 autoit.mouse_click("right", 481, 443)1413 if pyautogui.locateCenterOnScreen('./content/win1.png'):1414 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1415 break1416 autoit.mouse_click("right", 539, 354)1417 if pyautogui.locateCenterOnScreen('./content/win1.png'):1418 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1419 break1420 autoit.mouse_click("right", 539, 354)1421 if pyautogui.locateCenterOnScreen('./content/win1.png'):1422 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1423 break1424 autoit.mouse_click("right", 471, 306)1425 if pyautogui.locateCenterOnScreen('./content/win1.png'):1426 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1427 break1428 autoit.mouse_click("right", 481, 443)1429 if pyautogui.locateCenterOnScreen('./content/win1.png'):1430 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1431 break1432 autoit.mouse_click("right", 539, 354)1433 if pyautogui.locateCenterOnScreen('./content/win1.png'):1434 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1435 break1436 autoit.mouse_click("right", 539, 354)1437 if pyautogui.locateCenterOnScreen('./content/win1.png'):1438 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1439 break1440 autoit.mouse_click("right", 471, 306)1441 if pyautogui.locateCenterOnScreen('./content/win1.png'):1442 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1443 break1444 autoit.mouse_click("right", 481, 443)1445 if pyautogui.locateCenterOnScreen('./content/win1.png'):1446 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1447 break1448 autoit.mouse_click("right", 539, 354)1449 if pyautogui.locateCenterOnScreen('./content/win1.png'):1450 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1451 break1452 autoit.mouse_click("right", 539, 354)1453 if pyautogui.locateCenterOnScreen('./content/win1.png'):1454 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1455 break1456 autoit.mouse_click("right", 471, 306)1457 if pyautogui.locateCenterOnScreen('./content/win1.png'):1458 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1459 break1460 autoit.mouse_click("right", 481, 443)1461 if pyautogui.locateCenterOnScreen('./content/win1.png'):1462 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1463 break1464 autoit.mouse_click("right", 539, 354)1465 if pyautogui.locateCenterOnScreen('./content/win1.png'):1466 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1467 break1468 autoit.mouse_click("right", 539, 354)1469 if pyautogui.locateCenterOnScreen('./content/win1.png'):1470 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1471 break1472 autoit.mouse_click("right", 471, 306)1473 if pyautogui.locateCenterOnScreen('./content/win1.png'):1474 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1475 break1476 autoit.mouse_click("right", 481, 443)1477 if pyautogui.locateCenterOnScreen('./content/win1.png'):1478 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1479 break1480 autoit.mouse_click("right", 539, 354)1481 if pyautogui.locateCenterOnScreen('./content/win1.png'):1482 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1483 break1484 autoit.mouse_click("right", 539, 354)1485 if pyautogui.locateCenterOnScreen('./content/win1.png'):1486 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1487 break1488 autoit.mouse_click("right", 471, 306)1489 if pyautogui.locateCenterOnScreen('./content/win1.png'):1490 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1491 break1492 autoit.mouse_click("right", 481, 443)1493 if pyautogui.locateCenterOnScreen('./content/win1.png'):1494 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1495 break1496 autoit.mouse_click("right", 539, 354)1497 if pyautogui.locateCenterOnScreen('./content/win1.png'):1498 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1499 break1500 autoit.mouse_click("right", 539, 354)1501 if pyautogui.locateCenterOnScreen('./content/win1.png'):1502 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1503 break1504 autoit.mouse_click("right", 471, 306)1505 if pyautogui.locateCenterOnScreen('./content/win1.png'):1506 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1507 break1508 autoit.mouse_click("right", 481, 443)1509 if pyautogui.locateCenterOnScreen('./content/win1.png'):1510 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1511 break1512 autoit.mouse_click("right", 539, 354)1513 if pyautogui.locateCenterOnScreen('./content/win1.png'):1514 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1515 break1516 autoit.mouse_click("right", 539, 354)1517 if pyautogui.locateCenterOnScreen('./content/win1.png'):1518 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1519 break1520 autoit.mouse_click("right", 471, 306)1521 if pyautogui.locateCenterOnScreen('./content/win1.png'):1522 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1523 break1524 autoit.mouse_click("right", 481, 443)1525 if pyautogui.locateCenterOnScreen('./content/win1.png'):1526 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1527 break1528 autoit.mouse_click("right", 539, 354)1529 if pyautogui.locateCenterOnScreen('./content/win1.png'):1530 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1531 break1532 autoit.mouse_click("right", 539, 354)1533 if pyautogui.locateCenterOnScreen('./content/win1.png'):1534 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1535 break1536 autoit.mouse_click("right", 471, 306)1537 if pyautogui.locateCenterOnScreen('./content/win1.png'):1538 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1539 break1540 autoit.mouse_click("right", 481, 443)1541 if pyautogui.locateCenterOnScreen('./content/win1.png'):1542 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1543 break1544 autoit.mouse_click("right", 539, 354)1545 pydirectinput.keyUp("f2")1546 if pyautogui.locateCenterOnScreen('./content/win1.png'):1547 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1548 break1549 #############################################################1550 pydirectinput.keyDown('f3')1551 time.sleep(1)1552 autoit.mouse_click("right", 539, 354)1553 if pyautogui.locateCenterOnScreen('./content/win1.png'):1554 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1555 break1556 autoit.mouse_click("right", 471, 306)1557 if pyautogui.locateCenterOnScreen('./content/win1.png'):1558 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1559 break1560 autoit.mouse_click("right", 481, 443)1561 if pyautogui.locateCenterOnScreen('./content/win1.png'):1562 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1563 break1564 autoit.mouse_click("right", 539, 354)1565 if pyautogui.locateCenterOnScreen('./content/win1.png'):1566 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1567 break1568 autoit.mouse_click("right", 539, 354)1569 if pyautogui.locateCenterOnScreen('./content/win1.png'):1570 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1571 break1572 autoit.mouse_click("right", 471, 306)1573 if pyautogui.locateCenterOnScreen('./content/win1.png'):1574 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1575 break1576 autoit.mouse_click("right", 481, 443)1577 if pyautogui.locateCenterOnScreen('./content/win1.png'):1578 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1579 break1580 autoit.mouse_click("right", 539, 354)1581 if pyautogui.locateCenterOnScreen('./content/win1.png'):1582 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1583 break1584 autoit.mouse_click("right", 539, 354)1585 if pyautogui.locateCenterOnScreen('./content/win1.png'):1586 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1587 break1588 autoit.mouse_click("right", 471, 306)1589 if pyautogui.locateCenterOnScreen('./content/win1.png'):1590 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1591 break1592 autoit.mouse_click("right", 481, 443)1593 if pyautogui.locateCenterOnScreen('./content/win1.png'):1594 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1595 break1596 autoit.mouse_click("right", 539, 354)1597 if pyautogui.locateCenterOnScreen('./content/win1.png'):1598 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1599 break1600 autoit.mouse_click("right", 539, 354)1601 if pyautogui.locateCenterOnScreen('./content/win1.png'):1602 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1603 break1604 autoit.mouse_click("right", 471, 306)1605 if pyautogui.locateCenterOnScreen('./content/win1.png'):1606 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1607 break1608 autoit.mouse_click("right", 481, 443)1609 if pyautogui.locateCenterOnScreen('./content/win1.png'):1610 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1611 break1612 autoit.mouse_click("right", 539, 354)1613 if pyautogui.locateCenterOnScreen('./content/win1.png'):1614 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1615 break1616 autoit.mouse_click("right", 539, 354)1617 if pyautogui.locateCenterOnScreen('./content/win1.png'):1618 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1619 break1620 autoit.mouse_click("right", 471, 306)1621 if pyautogui.locateCenterOnScreen('./content/win1.png'):1622 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1623 break1624 autoit.mouse_click("right", 481, 443)1625 if pyautogui.locateCenterOnScreen('./content/win1.png'):1626 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1627 break1628 if pyautogui.locateCenterOnScreen('./content/win1.png'):1629 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1630 break1631 autoit.mouse_click("right", 539, 354)1632 if pyautogui.locateCenterOnScreen('./content/win1.png'):1633 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1634 break1635 autoit.mouse_click("right", 539, 354)1636 if pyautogui.locateCenterOnScreen('./content/win1.png'):1637 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1638 break1639 autoit.mouse_click("right", 471, 306)1640 if pyautogui.locateCenterOnScreen('./content/win1.png'):1641 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1642 break1643 autoit.mouse_click("right", 481, 443)1644 if pyautogui.locateCenterOnScreen('./content/win1.png'):1645 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1646 break1647 autoit.mouse_click("right", 539, 354)1648 if pyautogui.locateCenterOnScreen('./content/win1.png'):1649 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1650 break1651 autoit.mouse_click("right", 539, 354)1652 if pyautogui.locateCenterOnScreen('./content/win1.png'):1653 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1654 break1655 autoit.mouse_click("right", 471, 306)1656 if pyautogui.locateCenterOnScreen('./content/win1.png'):1657 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1658 break1659 autoit.mouse_click("right", 481, 443)1660 if pyautogui.locateCenterOnScreen('./content/win1.png'):1661 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1662 break1663 autoit.mouse_click("right", 539, 354)1664 if pyautogui.locateCenterOnScreen('./content/win1.png'):1665 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1666 break1667 autoit.mouse_click("right", 539, 354)1668 if pyautogui.locateCenterOnScreen('./content/win1.png'):1669 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1670 break1671 autoit.mouse_click("right", 471, 306)1672 if pyautogui.locateCenterOnScreen('./content/win1.png'):1673 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1674 break1675 autoit.mouse_click("right", 481, 443)1676 if pyautogui.locateCenterOnScreen('./content/win1.png'):1677 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1678 break1679 autoit.mouse_click("right", 539, 354)1680 if pyautogui.locateCenterOnScreen('./content/win1.png'):1681 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1682 break1683 autoit.mouse_click("right", 539, 354)1684 if pyautogui.locateCenterOnScreen('./content/win1.png'):1685 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1686 break1687 autoit.mouse_click("right", 471, 306)1688 if pyautogui.locateCenterOnScreen('./content/win1.png'):1689 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1690 break1691 autoit.mouse_click("right", 481, 443)1692 if pyautogui.locateCenterOnScreen('./content/win1.png'):1693 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1694 break1695 autoit.mouse_click("right", 539, 354)1696 if pyautogui.locateCenterOnScreen('./content/win1.png'):1697 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1698 break1699 autoit.mouse_click("right", 539, 354)1700 if pyautogui.locateCenterOnScreen('./content/win1.png'):1701 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1702 break1703 autoit.mouse_click("right", 471, 306)1704 if pyautogui.locateCenterOnScreen('./content/win1.png'):1705 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1706 break1707 autoit.mouse_click("right", 481, 443)1708 if pyautogui.locateCenterOnScreen('./content/win1.png'):1709 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1710 break1711 autoit.mouse_click("right", 539, 354)1712 if pyautogui.locateCenterOnScreen('./content/win1.png'):1713 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1714 break1715 autoit.mouse_click("right", 539, 354)1716 if pyautogui.locateCenterOnScreen('./content/win1.png'):1717 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1718 break1719 autoit.mouse_click("right", 471, 306)1720 if pyautogui.locateCenterOnScreen('./content/win1.png'):1721 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1722 break1723 autoit.mouse_click("right", 481, 443)1724 if pyautogui.locateCenterOnScreen('./content/win1.png'):1725 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1726 break1727 autoit.mouse_click("right", 539, 354)1728 if pyautogui.locateCenterOnScreen('./content/win1.png'):1729 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1730 break1731 autoit.mouse_click("right", 539, 354)1732 if pyautogui.locateCenterOnScreen('./content/win1.png'):1733 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1734 break1735 autoit.mouse_click("right", 471, 306)1736 if pyautogui.locateCenterOnScreen('./content/win1.png'):1737 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1738 break1739 autoit.mouse_click("right", 481, 443)1740 if pyautogui.locateCenterOnScreen('./content/win1.png'):1741 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1742 break1743 autoit.mouse_click("right", 539, 354)1744 if pyautogui.locateCenterOnScreen('./content/win1.png'):1745 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1746 break1747 autoit.mouse_click("right", 539, 354)1748 if pyautogui.locateCenterOnScreen('./content/win1.png'):1749 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1750 break1751 autoit.mouse_click("right", 471, 306)1752 if pyautogui.locateCenterOnScreen('./content/win1.png'):1753 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1754 break1755 autoit.mouse_click("right", 481, 443)1756 if pyautogui.locateCenterOnScreen('./content/win1.png'):1757 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1758 break1759 autoit.mouse_click("right", 539, 354)1760 if pyautogui.locateCenterOnScreen('./content/win1.png'):1761 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1762 break1763 autoit.mouse_click("right", 539, 354)1764 if pyautogui.locateCenterOnScreen('./content/win1.png'):1765 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1766 break1767 autoit.mouse_click("right", 471, 306)1768 if pyautogui.locateCenterOnScreen('./content/win1.png'):1769 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1770 break1771 autoit.mouse_click("right", 481, 443)1772 if pyautogui.locateCenterOnScreen('./content/win1.png'):1773 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1774 break1775 autoit.mouse_click("right", 539, 354)1776 if pyautogui.locateCenterOnScreen('./content/win1.png'):1777 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1778 break1779 autoit.mouse_click("right", 539, 354)1780 if pyautogui.locateCenterOnScreen('./content/win1.png'):1781 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1782 break1783 autoit.mouse_click("right", 471, 306)1784 if pyautogui.locateCenterOnScreen('./content/win1.png'):1785 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1786 break1787 autoit.mouse_click("right", 481, 443)1788 if pyautogui.locateCenterOnScreen('./content/win1.png'):1789 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1790 break1791 autoit.mouse_click("right", 539, 354)1792 if pyautogui.locateCenterOnScreen('./content/win1.png'):1793 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1794 break1795 autoit.mouse_click("right", 539, 354)1796 if pyautogui.locateCenterOnScreen('./content/win1.png'):1797 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1798 break1799 autoit.mouse_click("right", 471, 306)1800 if pyautogui.locateCenterOnScreen('./content/win1.png'):1801 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1802 break1803 autoit.mouse_click("right", 481, 443)1804 if pyautogui.locateCenterOnScreen('./content/win1.png'):1805 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1806 break1807 autoit.mouse_click("right", 539, 354)1808 if pyautogui.locateCenterOnScreen('./content/win1.png'):1809 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1810 break1811 autoit.mouse_click("right", 539, 354)1812 if pyautogui.locateCenterOnScreen('./content/win1.png'):1813 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1814 break1815 autoit.mouse_click("right", 471, 306)1816 if pyautogui.locateCenterOnScreen('./content/win1.png'):1817 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1818 break1819 autoit.mouse_click("right", 481, 443)1820 if pyautogui.locateCenterOnScreen('./content/win1.png'):1821 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1822 break1823 autoit.mouse_click("right", 539, 354)1824 if pyautogui.locateCenterOnScreen('./content/win1.png'):1825 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1826 break1827 autoit.mouse_click("right", 539, 354)1828 if pyautogui.locateCenterOnScreen('./content/win1.png'):1829 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1830 break1831 autoit.mouse_click("right", 471, 306)1832 if pyautogui.locateCenterOnScreen('./content/win1.png'):1833 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1834 break1835 autoit.mouse_click("right", 481, 443)1836 if pyautogui.locateCenterOnScreen('./content/win1.png'):1837 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1838 break1839 autoit.mouse_click("right", 539, 354)1840 if pyautogui.locateCenterOnScreen('./content/win1.png'):1841 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1842 break1843 autoit.mouse_click("right", 539, 354)1844 if pyautogui.locateCenterOnScreen('./content/win1.png'):1845 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1846 break1847 autoit.mouse_click("right", 471, 306)1848 if pyautogui.locateCenterOnScreen('./content/win1.png'):1849 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1850 break1851 autoit.mouse_click("right", 481, 443)1852 if pyautogui.locateCenterOnScreen('./content/win1.png'):1853 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1854 break1855 autoit.mouse_click("right", 539, 354)1856 if pyautogui.locateCenterOnScreen('./content/win1.png'):1857 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1858 break1859 autoit.mouse_click("right", 539, 354)1860 if pyautogui.locateCenterOnScreen('./content/win1.png'):1861 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1862 break1863 autoit.mouse_click("right", 471, 306)1864 if pyautogui.locateCenterOnScreen('./content/win1.png'):1865 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1866 break1867 autoit.mouse_click("right", 481, 443)1868 if pyautogui.locateCenterOnScreen('./content/win1.png'):1869 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1870 break1871 autoit.mouse_click("right", 539, 354)1872 if pyautogui.locateCenterOnScreen('./content/win1.png'):1873 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1874 break1875 autoit.mouse_click("right", 539, 354)1876 if pyautogui.locateCenterOnScreen('./content/win1.png'):1877 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1878 break1879 autoit.mouse_click("right", 471, 306)1880 if pyautogui.locateCenterOnScreen('./content/win1.png'):1881 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1882 break1883 autoit.mouse_click("right", 481, 443)1884 if pyautogui.locateCenterOnScreen('./content/win1.png'):1885 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1886 break1887 autoit.mouse_click("right", 539, 354)1888 if pyautogui.locateCenterOnScreen('./content/win1.png'):1889 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1890 break1891 autoit.mouse_click("right", 539, 354)1892 if pyautogui.locateCenterOnScreen('./content/win1.png'):1893 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1894 break1895 autoit.mouse_click("right", 471, 306)1896 if pyautogui.locateCenterOnScreen('./content/win1.png'):1897 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1898 break1899 autoit.mouse_click("right", 481, 443)1900 if pyautogui.locateCenterOnScreen('./content/win1.png'):1901 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1902 break1903 autoit.mouse_click("right", 539, 354)1904 pydirectinput.keyUp("f3")1905 if pyautogui.locateCenterOnScreen('./content/win1.png'):1906 pyautogui.click(pyautogui.locateCenterOnScreen('./content/win1.png'))1907 break19081909 print("Jogo Finalizado!")19101911 time.sleep(60)19121913 while True:1914 if pyautogui.locateOnScreen('./content/email.png'):1915 pyautogui.click(pyautogui.locateOnScreen('./content/x2.png'))1916 break1917 if not pyautogui.locateOnScreen('./content/email.png'):1918 break19191920 # after game1921 while True:1922 lvlup = pyautogui.locateCenterOnScreen('./content/missions.png') or pyautogui.locateCenterOnScreen(1923 './content/bok.png') or pyautogui.locateCenterOnScreen('./content/daily.png')1924 if lvlup:1925 time.sleep(5)1926 pyautogui.click(637, 366)1927 time.sleep(2)1928 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1929 # time.sleep(1)1930 # autoit.mouse_click("left", 641, 636)1931 break1932 if not lvlup:1933 break19341935 while True:1936 lvlup1 = pyautogui.locateCenterOnScreen('./content/lvlup1.png')1937 if lvlup1:1938 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1939 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1940 time.sleep(2)1941 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1942 time.sleep(1)1943 pyautogui.click(pyautogui.locateCenterOnScreen('./content/lvlup.png'))1944 time.sleep(1)1945 break1946 if not lvlup1:1947 break19481949 # while True:1950 # daily = pyautogui.locateCenterOnScreen('.content/bok.png')1951 # if daily:1952 # autoit.mouse_click("left", 634, 364)1953 # time.sleep(1)1954 # autoit.mouse_click("left", 636, 596)1955 # break1956 # if not daily:1957 # break19581959 while True:1960 missions = pyautogui.locateCenterOnScreen('./content/missions.png')1961 if missions:1962 pyautogui.click(637, 598)1963 time.sleep(1)1964 break1965 if not missions:1966 break19671968 while True:
...
chipotle_now.py
Source:chipotle_now.py
...17 else:18 # Use log-in credentials (cached in chrome browser from before)1920 # Sign in button (assuming user + pass already cached in chrome21 mouse_click(1268.0, 951.0) # old values that changed...(1253.0, 712.0)22 # Since were using an account, it has the usual restaurant cached, going to click continue...23 mouse_click(1288.0, 796.0) # Continue button24 mouse_click(1284.0, 949.0) # Pick up time - Should default to most recent, press continue button again.25 autopy.key.tap(key=autopy.key.Code.PAGE_DOWN, modifiers=[]) # Move down the page a bit.26 mouse_click(1262.0, 897.0) # Order Summary - Looks good, press continue again.27 mouse_click(1280.0, 1117.0) # PRESS 'CONFIRM AND PLACE ORDER' (Assume payment information is valid).282930def minimal_burrito_bowl(chips: bool = False):31 '''32 The burrito bowl I eat while cutting weight *fav*33 :param chips:34 :return:35 '''36 mouse_click(1575.0, 969.0) # Burrito bowl pic, click37 sleep(DEFAULT_WAIT)3839 mouse_click(1016.0, 837.0) # chicken40 autopy.key.tap(key=autopy.key.Code.PAGE_DOWN, modifiers=[]) # Move down the page a bit...41 mouse_click(997.0, 546.0) # white rice42 mouse_click(1000.0, 839.0) # black beans43 mouse_click(1362.0, 1151.0) # fresh tomato salsa - mild44 autopy.key.tap(key=autopy.key.Code.PAGE_DOWN, modifiers=[]) # Move down the page a bit...45 if chips:46 mouse_click(1019.0, 1059.0) # chips4748 mouse_click(1661.0, 794.0) # 'add meal to bag' button - oldval; Got changed....(1708.0, 864.0)49 sleep(DEFAULT_WAIT)5051 mouse_click(1657.0, 560.0) # checkout button52 sleep(DEFAULT_WAIT)535455def lanes_burrito_bowl(chips: bool = False):56 '''57 My burrito recipe order selection.58 :param chips:59 :return:60 '''61 mouse_click(1575.0, 969.0) # Burrito bowl pic, click62 sleep(DEFAULT_WAIT)6364 mouse_click(1016.0, 837.0) # chicken65 autopy.key.tap(key=autopy.key.Code.PAGE_DOWN, modifiers=[]) # Move down the page a bit...66 mouse_click(997.0, 546.0) # white rice67 mouse_click(1000.0, 839.0) # black beans68 mouse_click(1362.0, 1151.0) # fresh tomato salsa - mild69 autopy.key.tap(key=autopy.key.Code.PAGE_DOWN, modifiers=[]) # Move down the page a bit...70 mouse_click(994.0, 279.0) # corn71 mouse_click(1359.0, 570.0) # cheese72 mouse_click(994.0, 803.0) # lettuce7374 if chips:75 mouse_click(1019.0, 1059.0) # chips7677 mouse_click(1708.0, 864.0) # 'add meal to bag' button78 sleep(DEFAULT_WAIT)7980 mouse_click(1657.0, 560.0) # checkout button81 sleep(DEFAULT_WAIT)828384def mouse_click(x, y):85 autopy.mouse.move(x, y) # fresh tomato salsa - mild86 sleep(DEFAULT_WAIT)87 autopy.mouse.click()88 sleep(DEFAULT_WAIT)899091def go_to_chipotle():92 autopy.key.type_string(string='https://order.chipotle.com', wpm=80)93 autopy.key.tap(key=autopy.key.Code.RETURN, modifiers=[])949596def to_the_left():97 # test move left once - WindowsKey + left arrow98 autopy.key.tap(key=autopy.key.Code.LEFT_ARROW, modifiers=[autopy.key.Modifier.META])99100101def open_chrome(league: bool = False):102 if league:103 # Win + D to escape borderless screen covering taskbar.104 autopy.key.tap(key='D', modifiers=[autopy.key.Modifier.META])105106 mouse_click(21.0, 1425.0) # Click Windows 10 Start Button107 autopy.key.type_string(string='chrome', wpm=120)108 autopy.key.tap(key=autopy.key.Code.RETURN, modifiers=[])109110111def choose_monitor(monitor_name: str = None):112 """113 Outputs the different monitor options you have available or returns the data regarding one if specified.114 :param monitor_name:115 :return:116 """117 for m in get_monitors():118 if monitor_name and monitor_name.lower() in m.name.lower():119 return m # x, y, width, height120 else:
...
kancolle.py
Source:kancolle.py
...10 while True:11 time.sleep(1)12 mouse_move(500,500)13 time.sleep(0.5)14 mouse_click(525,298)15 time.sleep(1.5)16 mouse_click(525,298)17 time.sleep(3)18 mouse_click(1030,292)19 time.sleep(1)20 mouse_click(1030,292)21 time.sleep(1)22 mouse_click(988,479)23 time.sleep(0.5)24 mouse_click(988,479)25 time.sleep(13)26 mouse_click(946,383)27 time.sleep(39.5)28 mouse_click(815,281)29 time.sleep(5)30 mouse_click(815,281)31 time.sleep(5.1)32 mouse_click(815,281)33 time.sleep(2)34 mouse_click(815,281)35 time.sleep(2)36 mouse_click(815,281)37 time.sleep(4)38 mouse_click(407,259)39 time.sleep(0.9)40 mouse_click(443,159)41 time.sleep(4)42 mouse_click(380,101)43 time.sleep(2.5)44 return True45print('''46try kancolle 1-5A''')47global a48a = -149# å建ä¸ä¸ªâé©åâ管ç对象50hm = pyHook.HookManager()51# çå¬ææé®çäºä»¶52hm.KeyDown = onKeyboardEvent53hm.HookKeyboard()54# ä¸ç´çå¬ï¼ç´å°æå¨éåºç¨åº55pythoncom.PumpMessages(1000)56### aa.split('\r\n') \t...
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!