AlmarM Posted June 13, 2008 Posted June 13, 2008 Hey, I have 2 Questions. 1.: If I go to "http://southparkzone.com/" ull see Season 1 Season 2 etc. at the left side. Below it, there is a button called "Random Episode". How can I click it with the script? I saw something with _IEAction() but I dont realy get it. 2.: If I know how to click the "Random Episode" button, there is my next problem. If u pressed it, it will create a random movie link. How can I get the link with the script? -AlmarM- Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
DjDeep00 Posted June 13, 2008 Posted June 13, 2008 (edited) For #1... $oIE = _IECreate("http://www.southparkzone.com") $oLinks = _IELinkGetCollection ($oIE) $iNumLinks = @extended ;MsgBox(0, "Link Info", $iNumLinks & " links found") For $oLink In $oLinks ;ConsoleWrite($oLink.href & @CRLF) If $oLink.href="http://www.southparkzone.com/random.php" then _IEAction($oLink, "click") Next _IELoadWait($oIE) $oInputs = _IETagNameGetCollection ($oIE, "input") For $oInput In $oInputs ; MsgBox(0, "Form Input Type", "Form: " & $oInput.form.name & " Type: " & $oInput.type) If $oInput.type="text" then ConsoleWrite($oInput.name & "=" & $oInput.value & @CRLF) Next Edit: Changed the link to the random link with the season1 link. Edited June 13, 2008 by DjDeep00
AlmarM Posted June 13, 2008 Author Posted June 13, 2008 THANK YOU! And I just realized I didnt need the link ! -AlmarM- Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
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