Sign in to follow this  
Followers 0
cane

send() messing up.

5 posts in this topic

Ok if your going to run this make sure you enter a mybrute name (use test as its the one i was using to test this script) then go File>Run and it types aa then clears the text when its going to send $first

My code

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <IE.au3> 
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$first = Random(1,90)
$Form1 = GUICreate("ArtaBrute - version 1.0", 760, 590, 10, 10)
$MenuItem1 = GUICtrlCreateMenu("File")
$Start = GUICtrlCreateMenuItem("Start", $MenuItem1)
$exit = GUICtrlCreateMenuItem("Exit", $MenuItem1)
$MenuItem3 = GUICtrlCreateMenu("Configure")
$username = GUICtrlCreateMenuItem("MyBrute Username", $MenuItem3)
$Group1 = GUICtrlCreateGroup("", 8, 8, 737, 513)
$page = _IECreateEmbedded ()
$GUIActiveX = GUICtrlCreateObj($page, 17, 21, 720, 494)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

        Case $exit
            exit
        Case $username
            $user = InputBox("Enter your MyBrute username", "Please enter your MyBrute username.","","",300,130)
        Case $Start
            _IENavigate ($page, "http://"&$user&".mybrute.com/")
            Sleep(300)
            MouseClick("left", 739,541,2)
            sleep(300)
            MouseClick("left", 122,244)
            sleep(300)
            Send("{a down}") ;Holds the A key down
            Send("{a up}") ;Releases the A key
            Sleep(1000)
            Send("{a down}") ;Holds the A key down
            Send("{a up}") ;Releases the A key
            Sleep(1000)
            Send($first)
    EndSwitch
WEnd

Thanks for reading.

Share this post


Link to post
Share on other sites



THINK AGAIN!!

Why do you report this as spam? It just looks like a poorly written help request to me.

Share this post


Link to post
Share on other sites

So the textbox is clearing when you try to send $first? Try:

send ("aa" & $first)

Share this post


Link to post
Share on other sites

my sis driving me crazy :) , she did it!

There is no excuse. If you can't trust your siblings not to post then you need to log your account out.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0