Jump to content

Complete a webform?How?


Recommended Posts

Hello, i have this script :

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GUIConstants.au3>
#include <IE.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("User Finder", 345, 392, 192, 124)
$Input1 = GUICtrlCreateInput("Type here the User Profile Adress", 30, 32, 200, 21)
$Input2 = GUICtrlCreateInput("Type here the Captcha", 30, 248, 121, 21)
$Button1 = GUICtrlCreateButton("Go", 232, 32, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Enter", 232, 248, 75, 25, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("The link must be like: http://test.com/friend/play182145242--kyci--html", 24, 64, 215, 41)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

$object = ObjCreate("Shell.Explorer.2")
$object_ctrl = GUICtrlCreateObj($object,50, 152, 204, 76)
_IENavigate($object, "http://test.com/captcha.php")
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
     If $msg = $GUI_Event_close Then
         ExitLoop
     EndIf

WEnd

Now, what i need is to assign the correct functions to $Label1, $Label2, $Button1 and $Button2.The $Label1 will have the function to write the adress for the user , $Label2 is for the captcha.$Button1 and $Button2 will have the Submit button function.After that i want that a popup appear and say:"The Informations for the user are:...."

I Can't get how to do this...Please help me.

Link to comment
Share on other sites

Look in the helpfile for the GUI Reference and its subtopics GUI Concepts, GUI message loop mode & GUI on eventmode and then GUI management for more indepth help on each part of the GUI.

GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.
Link to comment
Share on other sites

Ok, i will give you a link to a similar page with mine, and you will see that on the page there is a Javascript tha i can't figure out, the page is THIS.I have managed to simulate the clik for button2.Now i got to find a way how to fill the form for the user adress.I don't know how to submit things with Javascript.

Edited by AutoBot
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...