Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 08:03

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

Advertisement



AdLibRegister Frage

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

Reply
 
Old   #1
 
spion9613's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 534
Received Thanks: 342
AdLibRegister Frage

hi evps
Ich hoffe ihr könnt mir helfen
Ein Script soll mehrere Funktionen machen(Auf die Funktionen kommt es nicht an da sie ohne Probleme funktionieren)

Code:
AdLibRegister("(1.Funktion)",200)
AdLibRegister("(2.Funktion)",200)

func (1.Funktion)()
send("2")
endfunc

func (2.Funktion)()
send("3")
endfunc
Wenn eine Pixel gefunden wird dann soll notepad geöffnet und "hi" reingeschrieben werden.

Code:
$z = PixelSearch(96,338,195,430,0xD81F20)
If pixelgetcolor($z[0],$z[1]) then
run("Notepad")
send("hi")
endif
Wenn er losschreibt,dann schreibt er etwa das da die Funktionen noch aktiv sind:
Code:
2232h232i2323
Wie kann ich die Funktionen pausieren(Sobald die Pixel nicht mehr da ist,sollen die Funktionen weitergehen)

Versuch:

Code:
$z = PixelSearch(96,338,195,430,0xD81F20)
If pixelgetcolor($z[0],$z[1]) then
AdLibUnRegister()
send("hi")
endif
mfg
spion9613 is offline  
Old 02/28/2011, 22:53   #2
 
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,149
AdlibUnRegister("Funktion_1")

Am Anfang einer Funktion steht keine Zahl und ein Punkt schon gar nicht (→ Syntax Error).
KDeluxe is offline  
Thanks
1 User
Old 03/01/2011, 19:19   #3
 
spion9613's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 534
Received Thanks: 342
wie kann ich aber mehrere funktionen pausieren??
Bei mir klappt es mit einer Funktion aber nicht mit mehreren

Edit:Kann geclosed werden habs jetzt raus =)
mfg
spion9613 is offline  
Reply


Similar Threads Similar Threads
Adlibregister für bestimmte Funktion
02/01/2010 - Guild Wars - 9 Replies
So bin schon ne Weile am überlegen wie ich Adlibregister einer Funktion zuordnen kann... Beispiel: Wayout() Run() ; hier soll adlibregister benutzt werden um den run auf circa 2 min zu begrenzen Merchant() Ist bestimmt ganz einfach aber momentan komm ich nicht drauf.



All times are GMT +1. The time now is 08:04.


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.