====================================
=====================
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.14.5
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
#cs -----------------
Local $aPos = MouseGetPos()
MsgBox(0, "Mouse x, y:", $aPos[0] & ", " & $aPos[1])
Local $Mouse1_x = $aPos[0]
Local $Mouse1_y = $aPos[1]
#ce -----------
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <Misc.au3>
;#include <ImageSearchEasy.au3>
HotKeySet("{ESC}", "MyExit")
CreateWindows()
; Vi tri ban hang tren ban do nho : 1879 , 1000
;Vi tri mo ban hang: 1122, 740
Func CreateWindows()
; Crée une interface graphique avec un contrôle bouton
Global $main = GUICreate("rage_mage",280, 250)
WinSetOnTop($main, "", 1)
Local $idOK = GUICtrlCreateButton("Close", 90, 120, 50, 25)
Local $idMousePos = GUICtrlCreateButton("Mouse Pos", 5, 120, 80, 25)
Local $idRune = GUICtrlCreateButton("auto", 5, 90, 85, 25)
;Local $idRune2 = GUICtrlCreateButton("auto elite", 95, 90, 85, 25)
; Affiche l'interface graphique.
GUISetState(@SW_SHOW, $main)
; Boucle jusqu'à ce que l'utilisateur quitte.
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE, $idOK
ExitLoop
Case $idRune
Sleep(1000)
Local $arr[200]
$arr[0] = "https://ydepdeploihayhay.blogspot.com/2023/12/autoit-auto-click.html"
$arr[1] ="https://ydepdeploihayhay.blogspot.com/2024/03/faire-un-detox-la-maison.html"
$arr[2] ="https://ydepdeploihayhay.blogspot.com/2024/03/cac-buoc-e-tu-detox-tai-nha.html"
$arr[3] ="https://ydepdeploihayhay.blogspot.com/2024/03/mot-so-loi-khuyen-e-giam-can-hieu-qua.html"
$arr[4] ="https://ydepdeploihayhay.blogspot.com/2024/03/5-loi-khuyen-cho-nam-gioi-e-giam-mo-bung.html"
$arr[5] ="https://ydepdeploihayhay.blogspot.com/2024/03/6-ly-do-ban-khong-giam-mo-bung-va-cach.html"
$arr[6] ="https://ydepdeploihayhay.blogspot.com/2024/03/nen-tap-duc-trong-bao-nhieu-lau-e-giam.html"
$arr[7] ="https://ydepdeploihayhay.blogspot.com/2024/03/bua-sang-nen-gi.html"
$arr[8] ="https://ydepdeploihayhay.blogspot.com/2024/03/can-biet-e-su-dung-may-chay-bo-toan-khi.html"
$arr[9] ="https://ydepdeploihayhay.blogspot.com/2024/03/nhung-su-that-van-bi-hieu-lam-ve-nguyen.html"
$arr[10] ="https://ydepdeploihayhay.blogspot.com/2024/03/raisons-pour-lesquelles-quelquun.html"
$arr[11] ="https://ydepdeploihayhay.blogspot.com/2024/03/criteres-importants-de-prestataire-de.html"
$arr[12] ="https://ydepdeploihayhay.blogspot.com/2024/03/quelques-conseils-pour-perdre-du-poids.html"
$arr[13] ="https://ydepdeploihayhay.blogspot.com/2024/03/mot-nua-dan-so-gioi-co-bi-can-thi-neu-o.html"
$arr[14] ="https://ydepdeploihayhay.blogspot.com/2024/03/hinh-dang-co-quyet-inh-tuoi-tho.html"
$arr[15] ="https://ydepdeploihayhay.blogspot.com/2024/03/c-static.html"
$arr[16] ="https://ydepdeploihayhay.blogspot.com/2024/03/aws-amazon-web-services.html"
$arr[17] ="https://ydepdeploihayhay.blogspot.com/2024/03/jenkins.html"
$arr[18] ="https://ydepdeploihayhay.blogspot.com/2024/03/docker.html"
$arr[19] ="https://ydepdeploihayhay.blogspot.com/2024/03/multi-threading.html"
$arr[20] ="https://ydepdeploihayhay.blogspot.com/2024/03/value-reference-type.html"
$arr[21] ="https://ydepdeploihayhay.blogspot.com/2021/09/huong-dan-cach-tu-thanh-loc-co-co-ban.html"
$arr[22] ="https://ydepdeploihayhay.blogspot.com/2023/09/top-9-tac-dung-cua-vo-qua-luu-oi-voi.html"
$arr[23] ="https://ydepdeploihayhay.blogspot.com/2023/09/sai-lam-thuong-gap-cua-nguoi-benh-tieu.html"
$arr[24] ="https://ydepdeploihayhay.blogspot.com/2023/09/cach-so-cuu-nguoi-bi-ngat-khoi-khoi-am.html"
$arr[25]="https://ydepdeploihayhay.blogspot.com/2024/03/tu-vi-12-cung-hoang-ao-thang-32024.html"
$arr[26]="https://ydepdeploihayhay.blogspot.com/2024/03/tu-vi-tuoi-quy-hoi-2024-nam.html"
$arr[27]="https://ydepdeploihayhay.blogspot.com/2024/03/autoit-exemple.html"
$arr[28]="https://ydepdeploihayhay.blogspot.com/2022/03/5-khong-trach-6-khong-mang.html"
$arr[29]="https://ydepdeploihayhay.blogspot.com/2021/10/nguyen-nhan-moi-nam-cac-nam-chinh-cua.html"
$arr[30]="https://ydepdeploihayhay.blogspot.com/2021/07/chanh-sa-gung.html"
$arr[31]="https://ydepdeploihayhay.blogspot.com/2021/04/gao-lut.html"
$arr[32]="https://ydepdeploihayhay.blogspot.com/2021/03/36-tu-the.html"
$arr[33]="https://ydepdeploihayhay.blogspot.com/2020/02/nhan-loai-va-nguon-goc-dich-benh.html"
$arr[34]="https://ydepdeploihayhay.blogspot.com/2022/06/stepn-ban-nang-cap-cua-play-to-earn-hay.html"
$arr[35]="https://ydepdeploihayhay.blogspot.com/2023/06/loi-ich-bat-ngo-cua-au-bap-nhan-sam.html"
$arr[36]="https://ydepdeploihayhay.blogspot.com/2024/03/tu-tin-la-phao-ai-noi-tam-vung-chac-cho.html"
$arr[37]="https://ydepdeploihayhay.blogspot.com/2024/03/cuoc-song-khong-con-nhiet-huyet-3-cach.html"
$arr[38]="https://ydepdeploihayhay.blogspot.com/2024/03/cuoc-song-la-mot-qua-trinh-song-ngay.html"
$arr[39]="https://ydepdeploihayhay.blogspot.com/2024/03/ai-girls.html"
$arr[40]="https://ydepdeploihayhay.blogspot.com/2024/03/nhung-cay-trong-trong-nha-tot-cho-suc.html"
$arr[41]="https://ydepdeploihayhay.blogspot.com/2024/03/rau-va-nhung-loai-trai-cay-it-uong-tot.html"
$arr[42]="https://ydepdeploihayhay.blogspot.com/2024/03/top-10-loai-qua-it-uong-giup-chi-em.html"
$arr[43]="https://ydepdeploihayhay.blogspot.com/2024/03/loai-qua-co-vi-chua-ngot-tot-ngang.html"
$arr[44]="https://ydepdeploihayhay.blogspot.com/2024/03/ai-girls_12.html"
$arr[45]="https://ydepdeploihayhay.blogspot.com/2024/03/con-nguoi-ta-hon-nhau-la-o-chu-dam.html"
$arr[46]="https://ydepdeploihayhay.blogspot.com/2024/03/khiem-ton.html"
$arr[47]="https://ydepdeploihayhay.blogspot.com/2024/03/o-ban-1-cua-1000-ty-va-100-cua-1-ty-cai.html"
$arr[48]="https://ydepdeploihayhay.blogspot.com/2024/03/noi-so-hai.html"
$arr[49]="https://ydepdeploihayhay.blogspot.com/2024/03/giam-cangiam-mo-tang-co.html"
$arr[50]="https://ydepdeploihayhay.blogspot.com/2024/03/cach-e-ua-tre-luon-cam-thay-uoc-yeu.html"
$arr[51]="https://ydepdeploihayhay.blogspot.com/2024/03/ban-hang-inh-nhu-chi-ban-ot.html"
$arr[52]="https://ydepdeploihayhay.blogspot.com/2024/03/cung-me.html"
$arr[53]="https://ydepdeploihayhay.blogspot.com/2024/03/chua-tu-va-tu-roi.html"
$arr[54]="https://ydepdeploihayhay.blogspot.com/2024/03/cho-voi-lay-chong.html"
$arr[55]="https://ydepdeploihayhay.blogspot.com/2024/03/ngam-thay-cung-ung.html"
$arr[56]="https://ydepdeploihayhay.blogspot.com/2024/03/cau-vang.html"
$arr[57]="https://ydepdeploihayhay.blogspot.com/2024/03/tat-ca-la-tu-giao-duc-ban-chon-song.html"
$arr[58]="https://ydepdeploihayhay.blogspot.com/2024/03/chong-em-la-phai-nay.html"
$arr[59]="https://ydepdeploihayhay.blogspot.com/2024/03/bac-thang-len-hoi-ong-troi.html"
$arr[60]="https://ydepdeploihayhay.blogspot.com/2024/03/nhin.html"
$arr[61]="https://ydepdeploihayhay.blogspot.com/2024/03/mot-so-benh-thuong-gap-va-cach-chua-tri.html"
$arr[62]="https://ydepdeploihayhay.blogspot.com/2023/09/test-technique-c0ding-g4me.html"
$arr[63]="https://ydepdeploihayhay.blogspot.com/2024/03/tai-sao-cac-ai-hiep-vo-lam-khong-i-lam.html"
$arr[64]="https://ydepdeploihayhay.blogspot.com/2024/03/bi-runners-high-tai-sao-chay-bo-giup.html"
$arr[65]="https://ydepdeploihayhay.blogspot.com/2024/03/sang-tao-thay-oi-hay-la-chet-tu-tu-mon.html"
$arr[66]="https://ydepdeploihayhay.blogspot.com/2024/03/an-gi-sau-khi-tap-luyen.html"
$arr[67]="https://ydepdeploihayhay.blogspot.com/2024/03/dong-giong-rong-tien-quen-tren-may.html"
$arr[68]="https://ydepdeploihayhay.blogspot.com/2024/03/oc-truoc-khi-qua-muon.html"
$arr[69]="https://ydepdeploihayhay.blogspot.com/2024/03/bqh-pgs-nguyen-lan-hieu-co-bai-phat.html"
$arr[70]="https://ydepdeploihayhay.blogspot.com/2024/03/co-hai-cau-danh-ngon-hai-huoc-ma-chac.html"
$arr[71]="https://ydepdeploihayhay.blogspot.com/2024/03/nuoc-moi-rung-xanh-va-su-song-cau.html"
$arr[72]="https://ydepdeploihayhay.blogspot.com/2024/03/yeu.html"
$arr[73]="https://ydepdeploihayhay.blogspot.com/2024/03/noi-dung-cau-chuyen-bi-cat-xen-xuyen-tac.html"
$arr[74]="https://ydepdeploihayhay.blogspot.com/2024/03/nhat-ky-lam-bo.html"
$arr[75]="https://ydepdeploihayhay.blogspot.com/2024/03/nguon-goc-mon-pho-va-tu-pho.html"
$arr[76]="https://ydepdeploihayhay.blogspot.com/2024/03/english-vietnamese.html"
$arr[77]="https://ydepdeploihayhay.blogspot.com/2024/03/jeu-de-blackjack-en-c.html"
$arr[78]="https://ydepdeploihayhay.blogspot.com/2024/03/serialisationdeserialisation.html"
$arr[79]="https://ydepdeploihayhay.blogspot.com/2024/03/delegate.html"
$arr[80]="https://ydepdeploihayhay.blogspot.com/2024/03/reflexion.html"
$arr[81]="https://ydepdeploihayhay.blogspot.com/2024/03/pour-eviter-les-deadlocks-en.html"
$arr[82]="https://ydepdeploihayhay.blogspot.com/2024/03/nhung-loi-ich-bat-ngo-khi-ban-duy-tri.html"
$arr[83]="https://ydepdeploihayhay.blogspot.com/2024/03/design-pattern-dependency-injection.html"
$arr[84]="https://ydepdeploihayhay.blogspot.com/2024/03/43-questions-answers-entretien-cnet.html"
$arr[85]="https://ydepdeploihayhay.blogspot.com/2024/03/4-thoi-quen-lanh-manh-vao-buoi-sang.html"
$arr[86]="https://ydepdeploihayhay.blogspot.com/2024/03/hay-nhin-lai-chinh-minh.html"
$arr[87]="https://ydepdeploihayhay.blogspot.com/2019/04/con-ran-va-cai-cua.html"
$arr[88]="https://ydepdeploihayhay.blogspot.com/2019/04/ton-tai-hay-khong-ma-linh-hon-nguoi-chet.html"
$arr[89]="https://ydepdeploihayhay.blogspot.com/2019/04/thuc-trang-giao-duc-o-viet-nam.html"
$arr[90]="https://ydepdeploihayhay.blogspot.com/2019/04/e-tre-uoc-tu-do-bieu-at-hay-go-ep-theo.html"
$arr[91]="https://ydepdeploihayhay.blogspot.com/2019/04/viet-nam-xep-hang-3740-chong-xam-hai.html"
$arr[92]="https://ydepdeploihayhay.blogspot.com/2019/04/thuong-qua-2-anh-em-khong-nguoi-than.html"
$arr[93]="https://ydepdeploihayhay.blogspot.com/2019/04/kinh-nghiem-lam-giau.html"
$arr[94]="https://ydepdeploihayhay.blogspot.com/2019/04/lam-nao-e-giu-gin-uoc-tu-ton-dan-toc.html"
$arr[95]="https://ydepdeploihayhay.blogspot.com/2019/04/chien-tranh-va-lich-su.html"
$arr[96]="https://ydepdeploihayhay.blogspot.com/2019/04/thanh-cong-theo-cach-moi-nguoi.html"
$arr[97]="https://ydepdeploihayhay.blogspot.com/2019/05/hai-viec-kho.html"
$arr[98]="https://ydepdeploihayhay.blogspot.com/2019/05/thuc-te.html"
$arr[99]="https://ydepdeploihayhay.blogspot.com/2019/05/bai-hoc-kinh-doanh.html"
$arr[100]="https://ydepdeploihayhay.blogspot.com/2019/05/vi-sao-thue-lai-tang.html"
$arr[101]="https://ydepdeploihayhay.blogspot.com/2019/05/triet-gia-khuyen-chung-ta-song-nao.html"
$arr[102]="https://ydepdeploihayhay.blogspot.com/2019/05/bai-hoc-marketing-khong-oc-hoi-phi.html"
$arr[103]="https://ydepdeploihayhay.blogspot.com/2019/05/loi-khuyen-phong-tranh-ung-thu.html"
$arr[104]="https://ydepdeploihayhay.blogspot.com/2019/05/the-nay-lam-sao-ma-song.html"
$arr[105]="https://ydepdeploihayhay.blogspot.com/2019/05/tai-sao-chung-ta-lai-thuong-lam-the.html"
$arr[106]="https://ydepdeploihayhay.blogspot.com/2019/05/cach-quy-toc-phap-dung-bua.html"
$arr[107]="https://ydepdeploihayhay.blogspot.com/2019/05/tien-quan-trong-gi-hanh-phuc-moi-quan.html"
$arr[108]="https://ydepdeploihayhay.blogspot.com/2019/05/cho-hanh-ong-khi-gian-du-mat-thay-chua.html"
$arr[109]="https://ydepdeploihayhay.blogspot.com/2019/05/duong-than-truong-tho.html"
$arr[110]="https://ydepdeploihayhay.blogspot.com/2019/06/en-1-con-lua-con-lam-uoc-ieu-nay-nua-la.html"
$arr[111]="https://ydepdeploihayhay.blogspot.com/2019/06/tre-em-can-gi.html"
$arr[112]="https://ydepdeploihayhay.blogspot.com/2019/06/nguoi-ngu-co-lam-quan-nhung-tuyet-oi.html"
$arr[113]="https://ydepdeploihayhay.blogspot.com/2019/06/nano-bioreactor-cam-on-nhat-ban.html"
$arr[114]="https://ydepdeploihayhay.blogspot.com/2019/06/get-mega-link-006.html"
$arr[115]="https://ydepdeploihayhay.blogspot.com/2019/06/nhung-chu-y-nen-biet-khi-hai-san.html"
$arr[116]="https://ydepdeploihayhay.blogspot.com/2019/06/thuc-on-bua-sang-cho-nguoi-tieu-uong.html"
$arr[117]="https://ydepdeploihayhay.blogspot.com/2019/06/chuyen-muc-canh-giac.html"
$arr[118]="https://ydepdeploihayhay.blogspot.com/2019/06/i-ve-sinh-tren-may-bay-co-chet-nguoi.html"
$arr[119]="https://ydepdeploihayhay.blogspot.com/2019/06/tuong-lai-dan-toc-se-i-ve-au.html"
$arr[120]="https://ydepdeploihayhay.blogspot.com/2019/06/tai-sao-nganh-kinh-doanh-dich-vu-phuong.html"
$i12 = 1
While $i12 < 100
Sleep(2000)
ClearCookies()
$il = 1
While $il < 11
GUICtrlCreateLabel("loop: " & $i12 & ", " & $il, 5, 5, 150, 20)
Sleep(1000)
Local $rand1 = Random(0,120)
Local $rand2 = Random(0,120)
Local $rand3 = Random(0,120)
Local $rand4 = Random(0,120)
Local $rand5 = Random(0,120)
Local $rand6 = Random(0,120)
Local $url1 = $arr[$rand1]
Local $url2 = $arr[$rand2]
Local $url3 = $arr[$rand3]
Local $url4 = $arr[$rand4]
Local $url5 = $arr[$rand5]
Local $url6 = $arr[$rand6]
MouseClick("left", 238, 18, 1,5) ; open 2nd windows
Sleep(1000)
MouseClick("left", 207, 20, 1,5) ; close first windows
Sleep(1000)
GoToUrl($url1) ; tab 1
MouseClick("left", 238, 18, 1,5) ; open 2nd tab
Sleep(310)
GoToUrl($url2) ; tab 2
MouseClick("left", 408, 18, 1,5) ; open 3rd tab
Sleep(310)
GoToUrl($url3) ; tab 3
MouseClick("left", 573, 18, 1,5) ; open 4th tab
Sleep(300)
GoToUrl($url4) ; tab 4
MouseClick("left", 742, 18, 1,5) ; open 5th tab
Sleep(300)
GoToUrl($url5) ; tab 5
MouseClick("left", 910, 18, 1,5) ; open 6th tab
Sleep(300)
GoToUrl($url6) ; tab 6
Sleep(600)
;MOVE DOWN
MouseClick("left", 136, 18, 1,5) ; goto tab 1
Sleep(300)
MoveDown()
MouseClick("left", 292, 18, 1,5) ; goto tab 2
Sleep(300)
MoveDown()
MouseClick("left", 452, 18, 1,5) ; goto tab 3
Sleep(300)
MoveDown()
MouseClick("left", 629, 18, 1,5) ; goto tab 4
Sleep(300)
MoveDown()
MouseClick("left", 810, 18, 1,5) ; goto tab 5
Sleep(300)
MoveDown()
MouseClick("left", 957, 18, 1,5) ; goto tab 6
Sleep(300)
MoveDown()
Sleep(600)
;MOVE UP
MouseClick("left", 136, 18, 1,5) ; goto tab 1
Sleep(200)
MoveUp()
MouseClick("left", 292, 18, 1,5) ; goto tab 2
Sleep(200)
MoveUp()
MouseClick("left", 452, 18, 1,5) ; goto tab 3
Sleep(200)
MoveUp()
MouseClick("left", 629, 18, 1,5) ; goto tab 4
Sleep(200)
MoveUp()
MouseClick("left", 810, 18, 1,5) ; goto tab 5
Sleep(200)
MoveUp()
MouseClick("left", 957, 18, 1,5) ; goto tab 6
Sleep(200)
MoveUp()
Sleep(600)
;GO TO HOME PAGE
MouseClick("left", 136, 18, 1,5) ; goto tab 1
Sleep(200)
GoHome()
MouseClick("left", 292, 18, 1,5) ; goto tab 2
Sleep(200)
GoHome()
MouseClick("left", 452, 18, 1,5) ; goto tab 3
Sleep(200)
GoHome()
MouseClick("left", 629, 18, 1,5) ; goto tab 4
Sleep(200)
GoHome()
MouseClick("left", 810, 18, 1,5) ; goto tab 5
Sleep(200)
GoHome()
MouseClick("left", 957, 18, 1,5) ; goto tab 6
Sleep(200)
GoHome()
Sleep(500)
;close 3 first tabs
MouseClick("left", 136, 18, 1,5) ; goto tab 1
Sleep(1500)
MouseClick("left", 207, 20, 1,5) ; close tab 1
Sleep(300)
MouseClick("left", 136, 18, 1,5) ; goto tab 1
Sleep(1500)
MouseClick("left", 207, 20, 1,5) ; close tab 1
Sleep(300)
MouseClick("left", 136, 18, 1,5) ; goto tab 1
Sleep(1500)
MouseClick("left", 207, 20, 1,5) ; close tab 1
Sleep(300)
MouseClick("left", 136, 18, 1,5) ; goto tab 1
Sleep(1500)
MouseClick("left", 207, 20, 1,5) ; close tab 1
Sleep(300)
MouseClick("left", 136, 18, 1,5) ; goto tab 1
Sleep(1500)
MouseClick("left", 207, 20, 1,5) ; close tab 1
Sleep(2500)
$il = $il + 1
WEnd
$i12 = $i12+1
WEnd
Case $idMousePos
; Run getMousePosition
Local $mPos = getMousePosition()
Local $tmp3 = "Mouse x: " & $mPos[0] & ", Mouse y: " & $mPos[1]
GUICtrlCreateLabel($tmp3, 5, 5, 300, 20) ;message, column, row, width, heigh
EndSwitch
WEnd
; Supprime la GUI précédente et tous les contrôles.
GUIDelete($main)
EndFunc ;==>CreateWindows
Func getMousePosition()
Local $x = 1, $pos
While $x = 1 ; Loop until the mouse is clicked.
if _IsPressed("01") then ; If left mouse is pushed.
$pos = MouseGetPos() ; Record the position.
$x = 0 ; Change x to end loop.
EndIf
WEnd
Return $pos
EndFunc;==>getMousePosition
Func ClearCookies()
Sleep(1000)
MouseClick("left", 24, 703, 1,5) ; open Setting
Sleep(2000)
MouseClick("left", 207, 20, 1,5) ; close first windows
Sleep(1000)
MouseClick("left", 139, 253, 1,5) ; open privecy
Sleep(1000)
MouseClick("left", 526, 245, 1,5) ; clear
Sleep(1000)
MouseClick("left", 990, 655, 1,5) ; clear
Sleep(1000)
EndFunc
Func GoToUrl($url)
Sleep(303)
MouseClick("left", 1100, 66, 1,5) ; go to url position
Sleep(500)
Send($url)
Sleep(2600)
Send("{ENTER}")
Sleep(4000)
EndFunc
Func MoveDown()
Sleep(200)
MouseMove(608,266)
Sleep(600)
MouseWheel("down",10)
Sleep(607)
MouseWheel("down",10)
Sleep(611)
MouseWheel("down",10)
Sleep(380)
MouseWheel("down",10)
Sleep(302)
MouseWheel("down",10)
Sleep(290)
MouseWheel("down",10)
Sleep(280)
MouseWheel("down",10)
Sleep(280)
EndFunc
Func MoveUp()
Sleep(172)
MouseMove(608,266)
Sleep(272)
MouseWheel("up",15)
Sleep(282)
MouseWheel("up",15)
Sleep(292)
MouseWheel("up",15)
Sleep(272)
MouseWheel("up",15)
Sleep(279)
MouseWheel("up",15)
Sleep(279)
MouseWheel("up",15)
Sleep(279)
EndFunc
Func GoHome()
Sleep(179)
MouseClick("left", 355, 198, 1,5) ; go to home
Sleep(2372)
;MouseWheel("down",11)
;Sleep(2372)
EndFunc
Func MyExit()
Exit
EndFunc
=======================
=========================================
Aucun commentaire:
Enregistrer un commentaire