Jex Posted November 19, 2007 Share Posted November 19, 2007 I want check Rapidshare links ( http://rapidshare.com/en/checkfiles.html ) but i can't submit form. I don't know what i need write for $Button variable.#include <GUIConstants.au3> #include <IE.au3> GUICreate("Test", 640, 600) $oIE = _IECreateEmbedded() $GUIActiveX = GUICtrlCreateObj($oIE, 10, 10, 620, 550) $GUI_Button_Home = GUICtrlCreateButton("Test", 10, 565, 620, 30) ;GUICtrlSetState($GUIActiveX, $GUI_HIDE) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit Case $msg = $GUI_Button_Home _IENavigate($oIE, "http://rapidshare.com/en/checkfiles.html") $Box = _IEGetObjByName ($oIE, "urls") _IEFormElementSetValue ($Box, "http://rapidshare.com/files/72635216/filename.zip") $Button = _IEGetObjByName ($oIE, "Check URLs") _IEFormSubmit($Button) EndSelect WEnd My scripts : Immediate Window , My Web Browser , Travian , Text Effect , Characters & Words per minute or second , Image Editor (ImageMagick) , Matrix style background effect ( Screensaver ) , Mail Sender , Protectlinks decoder and Rapidshare links checker , Fonts Fetcher , Region determine , Compare pictures , Gradient color box , Mouse Coordinates, Colors, Pixel Search things , Encrypt/Decrypt and embeding file in jpeg thing , Hard disk space monitor , Reflex game , Multiplayer Tic Tac Toe , WLM ( MSN ) personal message changer Link to comment Share on other sites More sharing options...
Generator Posted November 19, 2007 Share Posted November 19, 2007 _IEAction($Button,"click") Link to comment Share on other sites More sharing options...
Jex Posted November 19, 2007 Author Share Posted November 19, 2007 Thanks but not work. My scripts : Immediate Window , My Web Browser , Travian , Text Effect , Characters & Words per minute or second , Image Editor (ImageMagick) , Matrix style background effect ( Screensaver ) , Mail Sender , Protectlinks decoder and Rapidshare links checker , Fonts Fetcher , Region determine , Compare pictures , Gradient color box , Mouse Coordinates, Colors, Pixel Search things , Encrypt/Decrypt and embeding file in jpeg thing , Hard disk space monitor , Reflex game , Multiplayer Tic Tac Toe , WLM ( MSN ) personal message changer Link to comment Share on other sites More sharing options...
Generator Posted November 19, 2007 Share Posted November 19, 2007 (edited) I thought you had the $Button as an obj #include <GUIConstants.au3> #include <IE.au3> GUICreate("Test", 640, 600) $oIE = _IECreateEmbedded() $GUIActiveX = GUICtrlCreateObj($oIE, 10, 10, 620, 550) $GUI_Button_Home = GUICtrlCreateButton("Test", 10, 565, 620, 30) ;GUICtrlSetState($GUIActiveX, $GUI_HIDE) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit Case $msg = $GUI_Button_Home _IENavigate($oIE, "http://rapidshare.com/en/checkfiles.html") $Box = _IEGetObjByName ($oIE, "urls") _IEFormElementSetValue ($Box, "http://rapidshare.com/files/72635216/filename.zip") $Button = _IEFormGetCollection($oIE,0) _IEFormSubmit($Button) EndSelect WEnd Edited November 19, 2007 by Generator 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