Register for your free account! | Forgot your password?

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

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

Advertisement



Button Problem

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

Reply
 
Old 02/20/2010, 15:16   #16
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
guictrlread($input)
kknb is offline  
Old 02/20/2010, 16:32   #17
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
genau. Bin nicht drauf gekommen wie das heißt. Kleine Denkblockade
HardCore.1337 is offline  
Old 02/20/2010, 18:28   #18
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Und das müsste ich dann einfach vor die For schleife machen?
Σternαl. is offline  
Old 02/20/2010, 18:37   #19
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
ja, davor
HardCore.1337 is offline  
Old 02/20/2010, 18:46   #20
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
For $i = 1 to guictrlread($input)
kknb is offline  
Old 02/20/2010, 21:44   #21
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Ah ok,thx^^
Da kommt mir doch grad NOCH ein Problem entgegen =D
Und zwar möchte ich nen Bot für ein Browsergame (bitte nicht lachen =D) machen,
der nur als Einlogg-Bot fungieren soll, das ist alles nur zur Übung^^
Aber beim Internet Explorer wird das mit hwnd holen ja ein bisschen umständlich.
Muss ich da nach jedem Seitenladen den hwnd erneut holen, oder gibts da irgend nen Trick?
Σternαl. is offline  
Old 02/20/2010, 21:51   #22
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
kknb is offline  
Old 02/20/2010, 22:25   #23
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Man das sieht ja kompliziert aus QQ
Ich versuchs mal ohne Hilfe zu schaffen

€dit: So hab mal einen gemacht, aber ich würd gerne noch ein Bild in die GUI machen, also als Hintergrundbild.
Weiß jemand, wie man das macht?
Σternαl. is offline  
Old 02/20/2010, 23:12   #24
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
ja mit koda form designer oder f1 in scite ->google...
kknb is offline  
Old 02/21/2010, 01:49   #25
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Sooo, hab mir jetzt mal nen Habbo Hotel Einlogger Bot gemacht (ich spiel kein Habbo Hotel^^).
Der is eig für meine Schwester^^
Hier der Source:
PHP Code:
#include <GUIConstants.au3>

$Form1_1 GUICreate("Form1"630446193125)
$Label1 GUICtrlCreateLabel("Username"12810411553)
GUICtrlSetFont(-1334002"Got heroin?")
$Start GUICtrlCreateButton("Start"136272123490)
GUICtrlSetFont(-1338002"Got heroin?")
$username GUICtrlCreateInput(""31212812121)
GUICtrlSetFont(-188000"MS Sans Serif")
$Stop GUICtrlCreateButton("Stop"312272123490)
GUICtrlSetFont(-1338002"Got heroin?")
$Label2 GUICtrlCreateLabel("Password "12817613853)
GUICtrlSetFont(-1338002"Got heroin?")
$password GUICtrlCreateInput(""31219212121)
GUISetState(@SW_SHOW)

Sleep(100)
$hwnd2 WinGetHandle("Habbo loggin Bot")

Opt("SendKeyDownDelay"50)
Opt("SendKeyDelay"50)

Func hello()
    
Run("C:\Programme\Internet Explorer\iexplore.exe""", @SW_MAXIMIZE
    
Sleep(7000)

    
$hwnd WinGetHandle("Google - Windows Internet Explorer"

    
ControlSend($hwnd""0"{F6}")
    
Sleep(50)
    
ControlSend($hwnd""0"www.habbo.de")
    
Sleep(50)
    
ControlSend($hwnd""0"{enter}")
    
Sleep(5000)
    
ControlSend($hwnd""0"{F6}")
    
Sleep(50)
    
ControlSend($hwnd""0"{F6}")
    
Sleep(50)
    
ControlSend($hwnd""0"{F6}")
    
Sleep(50)
    
ControlSend($hwnd""0guictrlread($username))
    
Sleep(50)
    
ControlSend($hwnd""0"{TAB}")
    
Sleep(50)
    
ControlSend($hwnd""0guictrlread($password))
    
Sleep(50)
    
ControlSend($hwnd""0"{enter}")
    
Sleep(1000)
    
MsgBox("""Alter Habbo Suchtie ;D""VIEL SPASS BEIM ZOCKEN!")
EndFunc

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit

        Case 
$Start
            hello
()
            
        Case 
$Stop
            ExitLoop
    
EndSwitch
WEnd

Exit 
UND HIIIEEER DAS BILD =D
Attached Images
File Type: jpg habbo.JPG (93.9 KB, 7 views)
Σternαl. is offline  
Old 02/21/2010, 02:55   #26
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
tja schon schade das du trotz des tuts mit diesem send bla arbeitest.
kknb is offline  
Old 02/21/2010, 08:11   #27
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Ja, das Tut ist ein bisschen zu hoch für mich^^
Aber was ist denn an ControlSend so schlimm?
Hab sogar hingekrigt, dass das Passwort zensiert angezeigt wird^^
Btw ich programmier mit AutoIt seit vllt 3 Tagen erst

€dit: Ich weiß nicht, was ich für die IE Befehle includen bzw. downloaden muss.
Sonst hätte ich die Befehle auch verwendet^^
Wie gesagt, bin Anfänger
Belehre mich eines besseren
Σternαl. is offline  
Old 02/21/2010, 08:53   #28
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
Es ist nicht direkt schlimm, kann aber leichter zu Fehlern etc. führen

Wenn du direkt die Packets versendest, bist du auf der sicheren Seite und hast außerdem weniger Tipparbeit
HardCore.1337 is offline  
Reply

Tags
autoit, bot, button, buttons, problem


Similar Threads Similar Threads
Regi problem keine button anklickbar oO
05/12/2010 - Metin2 Private Server - 5 Replies
moin, hab folgendes problem bei meiner regi: Mann kann registration usw nich sehen oder anklicken hier n screen: http://img508.imageshack.us/img508/7845/regi.png
BUTTON problem
03/01/2010 - AutoIt - 1 Replies
Hallo Leute, Ich hab jetzt einen ganz guten farmbot für mich gemacht doch ein problem habe ich,da ich nicht weiß wie man ein bot pausiert (durch einen button) muss ich den bot immer wieder schließen. Hat jemand ne lösung für mich danke im voraus:)
WarRock statt KOREANISCHE BUTTON --> Englische BUTTON
02/26/2010 - WarRock - 6 Replies
Bin mir nicht sicher ob es diesen Thread schon gibt aber hab bis jetzt nichts gesehen hier. Funktionen Für WarRock Korea Koreanische Schriften (Button) weg und englische Schriften (Button) hin Anleitung
login problem no button
02/07/2010 - SRO Private Server - 5 Replies
hey all look at the pictures plz, i cant login cuzz i see no buttons. any1 know how to help me?
ECSRO - button problem on vista
04/19/2009 - SRO Private Server - 1 Replies
I tried to play ecsro on notebook with vista but i have a problem with the buttons by logining. I'll not explain to much, i think that those screens say everything. http://i88.servimg.com/u/f88/12/08/50/36/siilk110 .jpg http://i88.servimg.com/u/f88/12/08/50/36/silk210. jpg I can't start the game after i choose my char, because i dont see the buttons :( Do anyone know how can i fix it ?



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


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