Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 23:26

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

Advertisement



AotoIt Frage

Discussion on AotoIt Frage within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Lik3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 133
Received Thanks: 4
AotoIt Frage

HotKeySet("{F11}", "Starten")
HotKeySet("{F10}", "Programmbeenden")




Func Programmbeenden()
Exit
EndFunc

Func Starten()
While
WEnd
EndFunc
While True
MouseClick("right", 1005, 435, 1, 5 )
Sleep(100)
MouseClick("left" ,1046, 402 , 1, 5 )
Sleep(10000)
WEnd




So was muss ich machen das sich das script startet wenn ich F11 Drücke bekomme das nicht hin und z.b. mit F9 pausieren kann was müsste ich da noch einfügen das es funktioniert ps es sollte nach dem pausieren wieder mit F11 startbar sein können oder wieder mit F9 die pause zu entfernen danke für eure hilfe schon mal
Lik3 is offline  
Old 01/29/2013, 06:21   #2



 
Frutex's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 18,580
Received Thanks: 3,864
Arrow Technical Support -> AutoIt

#moved
Frutex is offline  
Old 01/29/2013, 14:23   #3
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
lern nochmal die grundlagen
Code:
HotKeySet("{F11}", "Starten")
HotKeySet("{F10}", "Programmbeenden")

Func Programmbeenden()
Exit
EndFunc

Func Starten()
While 1
MouseClick("right", 1005, 435, 1, 5 )
Sleep(100)
MouseClick("left" ,1046, 402 , 1, 5 )
Sleep(10000)
WEnd
EndFunc
YatoDev is offline  
Old 01/30/2013, 21:21   #4
 
[LS]Michael's Avatar
 
elite*gold: 15
Join Date: Oct 2007
Posts: 450
Received Thanks: 474
Quote:
Originally Posted by ~ⓜⓐⓢⓣⓔⓡ~ View Post
lern nochmal die grundlagen
Code:
HotKeySet("{F11}", "Starten")
HotKeySet("{F10}", "Programmbeenden")

Func Programmbeenden()
Exit
EndFunc

Func Starten()
While 1
MouseClick("right", 1005, 435, 1, 5 )
Sleep(100)
MouseClick("left" ,1046, 402 , 1, 5 )
Sleep(10000)
WEnd
EndFunc
du aber auch... du hast die while vergessen das script schließt sich sofort
[LS]Michael is offline  
Old 01/31/2013, 00:13   #5
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
Quote:
Originally Posted by [LS]Michael View Post
du aber auch... du hast die while vergessen das script schließt sich sofort
dumm oder so soll ich dir die while schleife nochmal persönlich zeigen kommen ?
es tut mir auch sehr leid das ich diese arme while schleife vergessen habe ;(
und außerdem war dies nichtmal der wunsch des te aber für dich nochmal :
Code:
HotKeySet("{F11}", "Starten")
HotKeySet("{F10}", "Programmbeenden")
While 1 
sleep(100)
Wend
Func Programmbeenden()
Exit
EndFunc

Func Starten()
[COLOR="Red"][B][I][U]While 1[/U][/I][/B][/COLOR]
MouseClick("right", 1005, 435, 1, 5 )
Sleep(100)
MouseClick("left" ,1046, 402 , 1, 5 )
Sleep(10000)
[B][I][U][COLOR="Red"]WEnd[/COLOR][/U][/I][/B]
EndFunc
YatoDev is offline  
Old 01/31/2013, 14:36   #6
 
[LS]Michael's Avatar
 
elite*gold: 15
Join Date: Oct 2007
Posts: 450
Received Thanks: 474
Quote:
Originally Posted by ~ⓜⓐⓢⓣⓔⓡ~ View Post
dumm oder so soll ich dir die while schleife nochmal persönlich zeigen kommen ?
es tut mir auch sehr leid das ich diese arme while schleife vergessen habe ;(
und außerdem war dies nichtmal der wunsch des te aber für dich nochmal :
Code:
HotKeySet("{F11}", "Starten")
HotKeySet("{F10}", "Programmbeenden")
While 1 
sleep(100)
Wend
Func Programmbeenden()
Exit
EndFunc

Func Starten()
[COLOR="Red"][B][I][U]While 1[/U][/I][/B][/COLOR]
MouseClick("right", 1005, 435, 1, 5 )
Sleep(100)
MouseClick("left" ,1046, 402 , 1, 5 )
Sleep(10000)
[B][I][U][COLOR="Red"]WEnd[/COLOR][/U][/I][/B]
EndFunc
die while in der func habe ich ja gesehn aber die nützt dir am start nicht da sich das script sofort wieder schließt
[LS]Michael is offline  
Old 02/01/2013, 00:24   #7
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
bitte nicht mehr in diesem thread posten, da es sich um einen doppelten thread handelt, welcher hier schon vor tagen beantwortet wurde:
lolkop is offline  
Reply


Similar Threads Similar Threads
AotoIT pixle help please
06/28/2012 - AutoIt - 1 Replies
Im working on my first bot and my issue so far is im nubbing it up thinking about this wrong and cant figure out how to do this one part with pixel search I wanna find the pixel (done) Send my commands(done) When that pixel is gone send a diff command(promblem) So I wanna find the HP bar if its red send me attacks when the red is gone send TAB (lock next target) I tryed a few things and i just not sure why it wont work. DO



All times are GMT +1. The time now is 23:27.


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.