Surviver Posted June 12, 2010 Share Posted June 12, 2010 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 More sharing options...
Yoriz Posted June 12, 2010 Share Posted June 12, 2010 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 More sharing options...
Surviver Posted June 13, 2010 Author Share Posted June 13, 2010 i have looked at what you said, but what i want is to know how to assign functions, not how to create GUIs. I haven't seen nothing that would help me. I still need help... Link to comment Share on other sites More sharing options...
Yoriz Posted June 13, 2010 Share Posted June 13, 2010 Helpfile > Language referance > Functions. 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 More sharing options...
Surviver Posted June 13, 2010 Author Share Posted June 13, 2010 (edited) 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 June 14, 2010 by AutoBot Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now