Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 09:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



need help @ autoIT

Discussion on need help @ autoIT within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2013
Posts: 1
Received Thanks: 0
need help @ autoIT

Hi guys!
im newbie @ autoIT and i am trying to make auto login bot for league of leagends so i see there is a lot of peoples who are good at AutoIT and can help me.

I need script who press button when it become active , but i dont know how to make anythink like that.

Thats what i haved made

sleep(1000)
mousemove(1872,28)
mouseclick("")
mouseclick("")
sleep(2000)
mousemove(1261,786)
mouseclick("") <------ In this place i need to press it when its active
mousemove(522,526)
mouseclick("")
send ( "Password" )
sleep(100)
MouseClickDrag("",724,460,427, 460)
send ( "Username" )
sleep(100)
mousemove(685,565)
mouseclick("")
sleep(1000)

Please help me and dont hate me its just second day on autoIT
domissmash is offline  
Old 05/04/2013, 13:58   #2
 
Croco™'s Avatar
 
elite*gold: 235
Join Date: Jan 2012
Posts: 920
Received Thanks: 377
Google:

Parameters:
Quote:
MouseClick ( "button" [, x, y [, clicks [, speed]]] )
Code:
sleep(1000)
mousemove(1872,28)
mouseclick("[B]left[/B]")
mouseclick("[B]left[/B]")
sleep(2000)
mousemove(1261,786)
mouseclick("[B]left[/B]") <------ In this place i need to press it when its active
mousemove(522,526)
mouseclick("[B]left[/B]")
send ( "Password" )
sleep(100)
MouseClickDrag("[B]left[/B]",724,460,427, 460)
send ( "Username" )
sleep(100)
mousemove(685,565)
mouseclick("[B]left[/B]")
sleep(1000)
Croco™ is offline  
Old 05/04/2013, 14:33   #3
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
Quote:
Remarks
If the button is an empty string, the left button will be clicked.
PHP Code:
sleep(1000)
mouseclick("left"1872,282)
sleep(2000)
If 
WinActive("TITLE"Then <-- place your title here " league of leagends" or whatever
    Sleep
(100)
    
mouseclick("left"1261,786
    
mouseclick("left"522,526)
    
Sleep(100)
    
send "Password" )
    
sleep(100)
    
MouseClickDrag("left",724,460,427460)
    
send "Username" )
    
sleep(100)
    
mouseclick("left"685,565)
    
sleep(1000)
EndIf 
omer36 is offline  
Reply




All times are GMT +1. The time now is 09:39.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.