Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 16:19

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

Advertisement



Ohne anklicken??

Discussion on Ohne anklicken?? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
arisha's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 76
Received Thanks: 6
Question Ohne anklicken??

Hallo...Habe einen simplen spamm-bot erstellt...der kann auf das notepad zugreifen...aber man muss erst einmal in das notepad klicken...das soll er aber von aleine machen..geht das???Hier mein script bis jetzt:

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("SpammBot V1.1", 296, 131, 192, 124)
$Input1 = GUICtrlCreateInput("Hier den Text hinein schreiben", 8, 8, 281, 21)
$Label1 = GUICtrlCreateLabel("Hier den Text", 8, 32, 100, 17)
$Input2 = GUICtrlCreateInput("Zeit", 8, 56, 281, 21)
$Label2 = GUICtrlCreateLabel("Wie schnell?", 8, 80, 100, 17)
$Button1 = GUICtrlCreateButton("Spamm", 160, 80, 121, 41, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

HotKeySet("{F2}", "ToggleStop")
Global $Stop
While 1
$nMsg = GUIGetMsg()
Switch $nMsg

Case $Button1
spamm()

Case $GUI_EVENT_CLOSE
Exit

EndSwitch
WEnd


Func spamm()
MsgBox(0, "Hinweis!", "Zum Stoppen drücke F2!")
ShellExecute("notepad.exe")
While 1
Send(GUICtrlRead($Input1))
Send ("{enter}")
Sleep(GUICtrlRead($Input2))
WEnd
EndFunc

Func ToggleStop()

$Stop = NOT $Stop
MsgBox(0, "Information", "Das Programm beendet sich jetzt")
Exit
EndFunc



Hoffe man kann das machen ...
Thx for Help
arisha is offline  
Old 04/22/2010, 14:05   #2
 
elite*gold: 60
Join Date: Jun 2009
Posts: 717
Received Thanks: 431
Ich würde es mal so probieren..

PHP Code:
Func spamm()
MsgBox(0"Hinweis!""Zum Stoppen drücke F2!"
ShellExecute("notepad.exe")
Mouseclick("left")
While 
1
Send
(GUICtrlRead($Input1))
Send ("{enter}")
Sleep(GUICtrlRead($Input2))
WEnd
EndFunc 
FrEakY. is offline  
Thanks
1 User
Old 04/22/2010, 14:10   #3
 
elite*gold: 0
Join Date: Apr 2010
Posts: 140
Received Thanks: 45
Quote:
Originally Posted by FrEakY. View Post
Ich würde es mal so probieren..

PHP Code:
Func spamm()
MsgBox(0"Hinweis!""Zum Stoppen drücke F2!"
ShellExecute("notepad.exe")
Mouseclick("left")
While 
1
Send
(GUICtrlRead($Input1))
Send ("{enter}")
Sleep(GUICtrlRead($Input2))
WEnd
EndFunc 
Jo!
Da musste auch MsgBox(1 hab ich gemacht aba hör auf ihn!
Koriyume is offline  
Old 04/22/2010, 16:10   #4
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
das geht sogar hidden

Setz mal vor das Send ein Control --> ControlSend
Schau dir das mal in der Helpdatei an
.nAno is offline  
Thanks
1 User
Reply

Tags
bot, notepad, selbst


Similar Threads Similar Threads
kann wächter net anklicken
05/02/2010 - Metin2 Private Server - 7 Replies
hi hab riesen problem ich kann den porter und wächter net anklicken auf meinem eigenen p server
Pixelsearch und anklicken
01/26/2010 - AutoIt - 1 Replies
hey leute^^ ich brauche mal hilfe. Für ein Bot brauche ich den befehl mit pixelsearch einen pixel auszulesen. dann ein if der pixel dieser koordinate hat die farbe 0x0ACD08 then mouseclick on wieda pixelcearch und dann ne andere farbe...pls help
GM NPC ANKLICKEN wie
12/03/2009 - Metin2 Private Server - 3 Replies
hey wie kann ich den gm npc anklicken von dem eine thrread bei mir kann ich ih n nicht anklicken



All times are GMT +2. The time now is 16:19.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.