Register for your free account! | Forgot your password?


Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 15:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement




Search for button on hmtl page and click on it

Discussion on Search for button on hmtl page and click on it within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 23
Received Thanks: 12
Search for button on hmtl page and click on it

Hello,

i want to use auto it to click on a button on a page. i can read some hmtl stuff of that button:

id="more" class="text-center btn-lg btn-default btn-block m-b-lg"
;href="javascript:void(0);">Load More<

i tried something like this:

Code:
#include <IE.au3>
#include <MsgBoxConstants.au3>

$oIE = _IECreate("link")

_IELoadWait($oIE)

$oTAGs = _IETagNameGetCollection($oIE, "button")

For $oTag in $oTAGs
	If $oTAG.outertext = "Load More" Then ;innertext also not work
		_IEAction($oTAG, "click")
		MsgBox($MB_SYSTEMMODAL, "Load More",$oTAG.innertext)
		ExitLoop
	EndIf
Next
Maybe someone with more experience can help me. thanks
lalilu11 is offline  
Reply

« hello my love | - »

Similar Threads Similar Threads
[B] Push Button [S] 10 e*gold/Button; 25 e*g/psd+Button
09/20/2013 - elite*gold Trading - 4 Replies
Moin, Hier könnt ihr folgenden Push Button kaufen: http://i.epvpimg.com/YlrYe.jpg Pro Button wären das 10e*g, pro Button mit .psd dazu 25e*g. Wenn ihr einen Button kaufen wollt, schreibt mir eine PN, damit ich den Namen ändern kann, alles hochladen kann und euch dann per Treasure schicken kann. ;) Schrift kann auch geändert werden. Dazu einfach in der PN schreiben, welche Schrift ihr haben wollt^^
metin2 hp design mit hmtl code
05/09/2010 - Metin2 Private Server - 1 Replies
Hallo Ich suche jemand der mir eine hp für mein dynds server macht und dan auch



All times are GMT +1. The time now is 15:38.


Powered by vBulletin®
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2021 elitepvpers All Rights Reserved.