|
You last visited: Today at 15:58
Advertisement
AutoIt Fehler
Discussion on AutoIt Fehler within the AutoIt forum part of the Coders Den category.
10/30/2008, 16:25
|
#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", 201, 138, 410, 508)
$Button1 = GUICtrlCreateButton("Button 1", 32, 24, 137, 25, 0)
$Button2 = GUICtrlCreateButton("Button 2", 32, 56, 137, 25, 0)
$Button3 = GUICtrlCreateButton("Button 3", 32, 88, 137, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion
While
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
guidelete ( $Form1 )
#Region
$Form2 = GUICreate("Form1", 395, 282, 381, 328)
$Pic1 = GUICtrlCreatePic("", 0, 0, 393, 281, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Button4 = GUICtrlCreateButton("Button1", 16, 240, 113, 25, 0)
$Button5 = GUICtrlCreateButton("Button2", 136, 240, 113, 25, 0)
$Button6 = GUICtrlCreateButton("Button3", 256, 240, 113, 25, 0)
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", 300, 600)
MouseClick("left", 300, 600)
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", 300, 600)
MouseClick("left", 300, 600)
Sleep("500")
WEnd
einer sein -.-
hoffe auf hilfe
|
|
|
10/30/2008, 16:27
|
#2
|
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
|
du hast das EndIf vergessen
einfach vor das WEnd setzten
|
|
|
10/30/2008, 20:27
|
#3
|
elite*gold: 0
Join Date: Feb 2006
Posts: 390
Received Thanks: 11
|
Quote:
Originally Posted by °Remus°
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?
|
|
|
10/30/2008, 20:32
|
#4
|
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
|
Hotkeyset("{ESC}","_end")
Func _end()
exit
EndFunc
|
|
|
 |
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.
|
|