Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 15:58

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

Advertisement



AutoIt Fehler

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2006
Posts: 390
Received Thanks: 11
AutoIt Fehler

PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
 
#Region 
$Form1 GUICreate("Form1"201138410508)
$Button1 GUICtrlCreateButton("Button 1"3224137250)
$Button2 GUICtrlCreateButton("Button 2"3256137250)
$Button3 GUICtrlCreateButton("Button 3"3288137250)
GUISetState(@SW_SHOW)
#EndRegion 
 
While 
$nMsg GUIGetMsg()
 
Switch 
$nMsg
 
Case $GUI_EVENT_CLOSE
Exit
 
Case 
$Button1
    guidelete 
$Form1 )
#Region
$Form2 GUICreate("Form1"395282381328)
$Pic1 GUICtrlCreatePic(""00393281BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Button4 GUICtrlCreateButton("Button1"16240113250)
$Button5 GUICtrlCreateButton("Button2"136240113250)
$Button6 GUICtrlCreateButton("Button3"256240113250)
GUISetState(@SW_SHOW)
#EndRegion
    
While
$nMsg1 GUIGetMsg()
    Switch 
$nMsg1
 
Case $GUI_EVENT_CLOSE
Exit

Case 
$Button4
        
While
            If 
winexist ("notepad"then
            Sleep
("500")
            
MouseClick("left"300600)
            
MouseClick("left"300600)
            
Sleep("500")
        
WEnd
        
Case $Button5
    
    
Exit
Case 
$Button6
    MsgBox
("Anleitung","hallo")
    
    EndSwitch
    
WEnd

Endswitch
WEnd 
hallo, kann mir jmd sagen wo da der fehler is? find da nix -.- da soll bei
PHP Code:
While
        If 
winexist ("notepad"then
        Sleep
("500")
        
MouseClick("left"300600)
        
MouseClick("left"300600)
        
Sleep("500")
WEnd 
einer sein -.-

hoffe auf hilfe
kom4for2 is offline  
Old 10/30/2008, 16:27   #2

 
°Remus°'s Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
du hast das EndIf vergessen

einfach vor das WEnd setzten
°Remus° is offline  
Thanks
1 User
Old 10/30/2008, 20:27   #3
 
elite*gold: 0
Join Date: Feb 2006
Posts: 390
Received Thanks: 11
Quote:
Originally Posted by °Remus° View Post
du hast das EndIf vergessen

einfach vor das WEnd setzten
ok danke soweit,

aber noch ne frage
ich würde gerne, dass das script aus ESC beendet wird

pausiert hab ich schon selber geschafft aber wie macht man das dann mit exit?
kom4for2 is offline  
Old 10/30/2008, 20:32   #4

 
°Remus°'s Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
Hotkeyset("{ESC}","_end")

Func _end()
exit
EndFunc
°Remus° is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Spambot fehler (autoit)
09/01/2010 - AutoIt - 3 Replies
Hayy.. ich wollte gerade einen Spambot erstellen der wenn ich in einen anderen Fenster "F1" drücke das spammt was in der Edit box steht #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Spambot", 625, 365, 193, 125) $Edit1 = GUICtrlCreateEdit("", 24, 96, 577, 233) GUICtrlSetData(-1, "Edit1") $Label1 = GUICtrlCreateLabel("F1=Start Spam", 24, 40, 127, 28) GUICtrlSetFont(-1, 16, 400, 0, "MS Sans Serif")
[AutoIT]Script Fehler
08/10/2010 - S4 League - 3 Replies
Hat sich geklärt !
[autoit]fehler _ie.au3 und frage
08/07/2010 - General Coding - 2 Replies
Hallo epvps ich habe da mal wieder ein problem folgender maßen ich möchte gerne mir ein Formular ausfüllen lassen das hat folgende felder -Benutzername -Passwort -vorname -nachname -Alter(combobox nicht so wichtig)
[autoit]finde meinen fehler nit :(
04/04/2009 - AutoIt - 2 Replies
hi^^ mir war langweilig da wollt eich mir schnell nen eigenen alarm bot machen der zu bestimmter zeit halt i-was macht (als test ne msgbox macht) abe er klappt i-wie nit :( hier mal der code: #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> GUI() func GUI()
Fehler Bei AutoIt Script
11/05/2008 - Guild Wars - 5 Replies
Hallo Leutz =) Also ich habe einen script für einen Bot Geschrieben nur tritt jetzt folgender fehler auf. Der zeigt mir beim Ausführen des Scriptes und beim Compiliren immer ein Error an o_O und Zwar dieses : Line 12 (File "C:\User\****\Desktop\Au3 Scripts\Bot 1.au3"): RandomSleep(9000, 9100)



All times are GMT +1. The time now is 15:58.


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.