Jump to content

_IE help needed


 Share

Recommended Posts

Hi all,

I want to make a script that will enter 90 in an inputbox on a website (its called 'bedrag') and then click on the button named 'storten'. But I see that both buttons have the same name, so how to fill in that form and press the button called 'storten' ?

Here's a part of the pagesource:

<form action="[url="http://www.bendes.nl/?go=bank"]http://www.bendes.nl/?go=bank[/url]" method="POST">
<b>Bedrag</b><br>
<input type="text" name="bedrag"><br>
<input type="submit" name="do" value="opnemen"> <input type="submit" name="do" value="storten"><br>
</form>

Thanks!

Link to comment
Share on other sites

You could try to locate the button object by order in the collection, as in the example below from the Help, and then simulate a click on it through _IEAction.

; *******************************************************

; Example 1 - Get a reference to a specific form element by 0-based index.

; In this case, submit a query to the Google search engine

; *******************************************************

;

#include <IE.au3>

$oIE = _IECreate ("http://www.google.com")

$oForm = _IEFormGetCollection ($oIE, 0)

$oQuery = _IEFormElementGetCollection ($oForm, 1)

_IEFormElementSetValue ($oQuery, "AutoIt IE.au3")

_IEFormSubmit ($oForm)

Link to comment
Share on other sites

Hopefully you are running your code from SciTe where IE.au3 will give you extra diagnostic information.

Assuming there are no other elements named "do" that precede your code spippet:

$oButton2 = _IEGetObjByName("do", 1)

_IEAction($oButton2, "click")

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

I am not tremendously expert either, but

ASSUMPTION: the page contains one form only: the one in your piece of code.

Then the bit of code for clicking on the desired button should be:

#include <IE.au3>

$oIE = _IECreate ("YOUR PAGE's URL HERE")

$oForm = _IEFormGetCollection ($oIE, 0)

$myButton = _IEFormElementGetCollection ($oForm, 2)

_IEAction( $myButton, "focus")

"focus" here is for demonstration. Replace it with "click".

HTH :-)

Link to comment
Share on other sites

Maybe it's nessasary to give you the complete source from the page, here you go:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Bendes | Neem jij de macht over?</title>
<meta name="author" content="Bendes"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="http://www.bendes.nl/img/layout/style.css" />
<script type="text/javascript">

//bgcolor="#808080"
function klap (klapvar)
{
document.getElementById (klapvar).style.display = "inline";
}


function meter(element, procent) {
document.getElementById(element + 'val').value = procent;
document.getElementById(element).style.width = procent + '%';   
}

function zeker(devar)
{

if (confirm("Weet je het zeker?"))
{
window.location = "http://www.bendes.nl/" + devar;
}
else
{
alert ("Nee");
}   

}

function openChat()
{
window.open("http://flash.bribble.com/group.html?port=34959","BendesChat","location=0,status=0,scrollbars=0,width=735,height=535");
}



function openWin()
{
window.open("http://www.bendes.nl/plugins/gokkast/index.php","Gokkast","location=0,status=0,scrollbars=0,width=400,height=540");
}


function wc(){
if(c>-1){document.getElementById("dl").innerHTML = c;
c = c - 1;setTimeout("wc()", 1000)} }





</script>
</head>
<body>











<!-- pop -->
<!-- end pop -->














<div id="pattern">
    <div id="container">
            <div id="header">
            <h1>Bendes</h1>
            <h2>Neem jij de macht over?</h2>
            <div id="stats"><div style="margin-left: 120px; position: absolute;"><a href="http://www.bendes.nl/?go=uitloggen"><img src="http://www.bendes.nl/img/layout/cancel.gif" border="0" alt="uitloggen" title="uitloggen" /></a></div>
                <div class="sr">
                    <div class="sc1"><img src="http://www.bendes.nl/img/layout/user2.jpg" alt="" /></div>
                    <div class="sc2">jrkey90 </div>
<!--                    <div class="sc3"></div> -->
                </div>
                <div class="sr">
                    <div class="sc1"><img src="http://www.bendes.nl/img/layout/money.jpg" alt="" /></div>
                    <div class="sc2">Geld:</div>
                    <div class="sc3">&euro;5</div>
                </div>
                <div class="sr">
                    <div class="sc1"><img src="http://www.bendes.nl/img/layout/health.jpg" alt="" /></div>
                    <div class="sc2">&nbsp;&nbsp;&nbsp;<sup style="color: red;">LEVEN</sup></div>
                    <div class="sc3"><div style="position: relative; top: 2px;"><img style="border: 1px solid #BEBEBE;" src="http://www.bendes.nl/img/groen.gif" width="47" height="7"><img style="border-right: 1px solid #BEBEBE; border-bottom: 1px solid #BEBEBE; border-top: 1px solid #BEBEBE;" src="http://www.bendes.nl/img/rood.gif" width="3" x=$leven}" height="7"></div></div>              </div>
                <div class="sr">
                    <div class="sc1"><img src="http://www.bendes.nl/img/layout/energy.jpg" alt="" /></div>
                    <div class="sc2"><sup style="color: orange;">ENERGIE</sup></div>
                    <div class="sc3"><div style="position: relative; top: 2px;"><img style="border: 1px solid #BEBEBE;" src="http://www.bendes.nl/img/groen.gif" width="37" height="7"><img style="border-right: 1px solid #BEBEBE; border-bottom: 1px solid #BEBEBE; border-top: 1px solid #BEBEBE;" src="http://www.bendes.nl/img/rood.gif" width="13" height="7"></div></div>
                </div>
                <div class="sr">
                    <div class="sc1"><a href="http://www.bendes.nl/?go=gsm"><img src="http://www.bendes.nl/img/layout/pb.gif" alt="berichten" border="0" /></a></div>
                    <div class="sc4"><a href="http://www.bendes.nl/?go=gsm"><!-- Privé berichten --> (1)</a> &nbsp;Ervaring: 1885</div>
                </div>
            </div>  
    
        </div>
            <div id="leftmenu">
            <h3><img src="http://www.bendes.nl/img/layout/bendes.jpg" alt="" /><span>Bendes</span></h3>
            <ul>

                            <li><a href="http://www.bendes.nl/?go=overzicht">Overzicht</a></li>
                <li><a href="http://www.bendes.nl/?go=nieuws">Nieuws</a></li>
                <li><a href="http://www.bendes.nl/?go=eigendom">Eigendom / Spullen</a></li>
                                <li><a href="http://www.bendes.nl/?go=hoeren">Hoeren</a></li>
                <li><a href="http://www.bendes.nl/?go=gebouw">Woning</a></li>
                <li><a href="http://www.bendes.nl/?go=msn"><b>MSN Invite</b> <span class="tip" style="font-size: 9px;">(tip)</span></a></li>
                <li><a href="http://www.bendes.nl/?go=gangsters">Gangsters</a></li>
                <li><a href="http://www.bendes.nl/?go=credits"><b>Credits</b></a></li>
                <li><a href="http://www.bendes.nl/?go=online">Online leden</a></li>
                <li><a href="http://www.bendes.nl/?go=hummer"><b>Hummer-strijd</b></a></li>
                <li><a style="cursor: pointer;" onclick="openChat();">Chat <span class="tip" style="font-size: 9px;">(supertip)</span></a></li> 
                
<!--                <li><a target="_BLANK" href="http://www.bendes.nl/chat/" style="font-weight: bold;">Chatten</a></li> -->
                <li><a href="http://www.bendes.nl/?go=uitleg">Uitleg</a></li>
                <li><a href="http://www.bendes.nl/?go=helpdesk"><b>Helpdesk</b></a></li>
            </ul>


            <h3><img src="http://www.bendes.nl/img/layout/stad.jpg" alt="" /><span>Stad</span></h3>
            <ul>

                <li><a href="http://www.bendes.nl/?go=map">Centrum</a></li>
                <li><a href="http://www.bendes.nl/?go=werk">Werken</a></li>
                <li><a href="#" onclick="document.getElementById('shops0').style.display = 'block'; document.getElementById('shops1').style.display = 'block'; document.getElementById('shops2').style.display = 'block'; document.getElementById('shops3').style.display = 'block'; document.getElementById('shops4').style.display = 'block'; document.getElementById('shops5').style.display = 'block'; document.getElementById('shops6').style.display = 'block'; document.getElementById('shops7').style.display = 'block'; document.getElementById('shops8').style.display = 'block'; document.getElementById('shops9').style.display = 'block'; document.getElementById('shops10').style.display = 'block';"><b>Winkels</b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span id="arrow" style="background: url(http://www.bendes.nl/img/layout/down.gif); width: 16px; height: 6px; font-size: 5px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a></li>
                <div id="shops0" style="height: 2px; background: black; width: 120px; font-size: 1px; display: none;"> </div>
                <li id="shops1" style="display: none;"><a href="http://www.bendes.nl/?go=winkel&winkel=tonie">&nbsp;&nbsp;&nbsp;Wapens</a></li>
                <li id="shops2" style="display: none;"><a href="http://www.bendes.nl/?go=winkel&winkel=apotheek">&nbsp;&nbsp;&nbsp;Apotheek</a></li>
                <li id="shops3" style="display: none;"><a href="http://www.bendes.nl/?go=winkel&winkel=ah">&nbsp;&nbsp;&nbsp;Supermarkt</a></li>
                <li id="shops4" style="display: none;"><a href="http://www.bendes.nl/?go=winkel&winkel=autodealer">&nbsp;&nbsp;&nbsp;Autodealer</a></li>
                <li id="shops5" style="display: none;"><a href="http://www.bendes.nl/?go=winkel&winkel=shell">&nbsp;&nbsp;&nbsp;Benzinepomp</a></li>
                <li id="shops6" style="display: none;"><a href="http://www.bendes.nl/?go=winkel&winkel=fixit">&nbsp;&nbsp;&nbsp;Fix it</a></li>
                <li id="shops7" style="display: none;"><a href="http://www.bendes.nl/?go=winkel&winkel=mcdonalds">&nbsp;&nbsp;&nbsp;McDonalds</a></li>
                <li id="shops8" style="display: none;"><a href="http://www.bendes.nl/?go=winkel&winkel=chris">&nbsp;&nbsp;&nbsp;Stichting Chris</a></li>
                <li id="shops9" style="display: none;"><a href="http://www.bendes.nl/?go=winkel&winkel=hoekje">&nbsp;&nbsp;&nbsp;Sigarenwinkel</a></li>
                <div id="shops10" style="height: 2px; background: black; width: 120px; font-size: 1px; display: none;"> </div>


                <li><a href="http://www.bendes.nl/?go=sportschool">Sportschool</a></li>

                <li><a href="http://www.bendes.nl/?go=ziekenhuis">Ziekenhuis</a></li>
                <li><a href="http://www.bendes.nl/?go=gevangenis">Gevangenis</a></li>
                <li><a href="http://www.bendes.nl/?go=hotel">Hotel</a></li>
                <li><a href="http://www.bendes.nl/?go=gemeentehuis">Gemeentehuis</a></li>
                <li><a href="http://www.bendes.nl/?go=forum"><b>Forum</b> <span class="tip" style="font-size: 9px;">(testen)</span></a></li>
                <li><a href="http://www.bendes.nl/?go=prikbord">Prikbord</a></li>

            </ul>
            <h3><img src="http://www.bendes.nl/img/layout/casino.jpg" alt="" /><span>Casino</span></h3>
            <ul>

                <li><a href="http://www.bendes.nl/?go=loterij"><b>Loterij</b> <span class="tip" style="font-size: 9px;">(nieuw)</span></a></li>
                <li><a href="http://www.bendes.nl/?go=dobbelspel">Dobbel spel</a></li>
                <li><a style="cursor: pointer;" onclick="openWin();">Gokkast <span class="tip" style="font-size: 9px;">(tip)</span></a></li>
                <li><a href="http://www.bendes.nl/?go=kopofmunt">Kop of munt</a></li>
                <li><a href="http://www.bendes.nl/?go=roulette">Roulette</a></li>
                <li><a href="http://www.bendes.nl/?go=#"><s>Deal or no deal</s></a></li>
                <li><a href="http://www.bendes.nl/?go=paardenrennen">Paardenrennen</a></li>
                <li><a href="http://www.bendes.nl/?go=kluis">Kraak de kluis</a></li>
                <li><a href="http://www.bendes.nl/?go=vegas">Vegas</a></li>

            </ul>
<!--            <h3><img src="http://www.bendes.nl/img/layout/casino.jpg" alt="" /><span>Extra</span></h3> -->
            <ul>

                <li><a href="http://www.bendes.nl/?go=rijschool">Rijschool</a></li>
<!--                <li><a href="http://www.bendes.nl/?go=rechters">Rechters omkopen</a></li> -->
                <li><a href="http://www.bendes.nl/?go=winkel&winkel=kleding">Kleding</a></li>
                <li><a href="http://www.bendes.nl/?go=winkel&winkel=advocaten">Advocaten</a></li>
                <li><a href="http://www.bendes.nl/?go=regels">Regels</a></li>
                <li><a href="http://www.bendes.nl/?go=status">Status</a></li>
                <li><a href="http://www.bendes.nl/?go=top">Top 100 Geld</a></li>
                <li><a href="http://www.bendes.nl/?go=zoek">Zoek lid</a></li>

            </ul>
        </div>
        
        <div id="center"><div style="color: yellow; font-size: 13px; text-align: center;">
<!-- <a onclick="openChat();" class="bilink" style="color: yellow; font-size: 16px; cursor: pointer;">Snap je iets niet? Kom naar de chat!</a> -->
<br>
<a href="http://www.bendes.nl?go=msn" class="bilink" style="color: yellow; font-size: 16px; cursor: pointer;">Veel gangsters en geld bij MSN Uitnodiging!</a>
<br>
<br>
<span style="color: green;"><b>Hummer</b> en <b>1000 credits</b> winnen met MSN-invite? <a class="bilink" href="http://www.bendes.nl/?go=msn">MSN-invite</a></span>
<!-- <span style="color: white;">Vragen of problemen? <a class="bilink" href="http://www.bendes.nl/?go=helpdesk">Helpdesk</a> /  100 gratis credits? Lees <a class="bilink" href="http://www.bendes.nl/?go=forum">Forum</a></span> -->





<br>
<br>
</div>
<!-- <span class="kop">De Bank</span><br> -->




<span style="font-size: 34px; color: orange;">De Bank</span><br>
<img src="http://www.bendes.nl/img/places/bank.jpg" align="right">Welkom bij de bank!<br><br>
Je hebt op dit moment <b>22281</b> op de bank staan.<br>
<br>
Bij ons is je geld altijd veilig! Wat er ook gebeurt.<br>
<br>

<form action="http://www.bendes.nl/?go=bank" method="POST">
<b>Bedrag</b><br>
<input type="text" name="bedrag"><br>
<input type="submit" name="do" value="opnemen"> <input type="submit" name="do" value="storten"><br>
</form>


        <img id="imgb" src="http://www.bendes.nl/img/layout/bendes.jpg" height="0" width="0" style="display: none;">
        
        </div>
        
        <div id="rightmenu">
            <h3><img src="http://www.bendes.nl/img/layout/instellingen.jpg" alt="" /><span>Instellingen</span></h3>
            <ul>
        <li><a href="http://www.bendes.nl/?go=gsm" style="color: red;"><b>Nieuw bericht!</b></a></li>               <li><a href="http://www.bendes.nl/?go=bewerkprofiel">Profiel aanpassen</a></li>
                <li><a href="http://www.bendes.nl/?go=profiel&id=250773">Profiel</a></li>
                <li><a href="http://www.bendes.nl/?go=instellingen">Instellingen</a></li>
                <li><a href="http://www.bendes.nl/?go=vrienden">Vrienden toevoegen</a></li>
                            </ul>
            <h3><img src="http://www.bendes.nl/img/layout/misdaad.jpg" alt="" /><span>Misdaad</span></h3>
            <ul>
                <li><a href="http://www.bendes.nl/?go=misdaad&type=sloeber">Misdaad</a></li>
                <li><a href="http://www.bendes.nl/?go=scooter">Scooter stelen</a></li>
                <li><a href="http://www.bendes.nl/?go=misdaad">Echte misdaad</a></li>
                <li><a href="http://www.bendes.nl/?go=georganiseerd">Georganiseerd</a></li>
                <li><a href="http://www.bendes.nl/?go=smokkel">Smokkel</a></li>
<!--                <li><a href="http://www.bendes.nl/?go=missies"><s>Missies</s></a></li>
                <li><a href="#"><s>Misdaad Operaties</s></a></li> -->
                <li><a href="http://www.bendes.nl/?go=misdaadmelden">Meldt Misdaad</a></li>
                
            </ul>
            <h3><img src="http://www.bendes.nl/img/layout/geld.jpg" alt="" /><span>Geld</span></h3>
            <ul>
<!--                <li><a href="http://www.bendes.nl/?go=sinterklaas">Sinterklaas <span class="tip">nieuw</span></a></li> -->
                <li><a href="http://www.bendes.nl/?go=bank">Bank</a></li>
                <li><a href="http://www.bendes.nl/?go=doneren">Doneren</a></li>
                <li><a href="http://www.bendes.nl/?go=gangsterwerk">Werk als gangster</a></li>
                <li><a href="http://www.bendes.nl/?go=codes">Codes</a></li>
                <li><a href="http://www.bendes.nl/?go=filmprijzen">Film prijzen</a></li>
                            </ul>
            <h3><img src="http://www.bendes.nl/img/layout/bendesgrijs.jpg" alt="" /><span>Families</span></h3>
            <ul>
                                <li><a href="http://www.bendes.nl/?go=bendes&bende=10471">Mijn bende</a></li>
                <li><a href="http://www.bendes.nl/?go=prikbord&subforum=10471">Bende forum <span class="tip">nieuw</span></a></li>
                <li><a href="http://www.bendes.nl/?go=bendes&bactie=verlaten">Bende verlaten</a></li>
                                <li><a href="http://www.bendes.nl/?go=bendes&bactie=lijst&type=rijk">Rijke bendes</a></li>
                <li><a href="http://www.bendes.nl/?go=bendes&bactie=lijst&type=arm">Arme Bendes</a></li>
            </ul>
            <ul>
                <li><a href="http://www.bendes.nl/?go=top&type=rang">Top 50 Rang</a></li>
                <li><a href="http://www.bendes.nl/?go=huisdieren">Huisdieren <span class="tip">testen</span></a></li>
                <li><a href="http://www.bendes.nl/?go=top&type=huisdier">Top 10 huisdieren</a></li>
                                            </ul>
        </div>

        <div class="clear"></div>
    </div>

    <div id="footerspacer"></div>
    <div id="footer"><span>Copyright © 2007 - Bendes.nl | All Rights Reserved. Design by R&B. Hosted by <a href="http://www.xunasolutions.nl" target="_BLANK">Xuna</a></span></div>
</div>

<script src="urchin-stats.js" type="text/javascript">
</script>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1776817-2";
urchinTracker();
</script>




</body>
</html>
<!-- http://www.bendes.nl/img -->

Thanks!

Link to comment
Share on other sites

Hi all,

when I run this code:

#include<IE.au3>

Global $i

Hotkeyset("{F4}", "boot")

HotKeySet("{F5}", "stop")

stop()

Func stop()

TraySetToolTip("Bendes Auto Worker - Gestopt")

while 1

Sleep(10)

WEnd

EndFunc

Func boot()

TraySetToolTip("Bendes Auto Worker - Gestart")

While 1

If $i = "10" Then

bank()

Else

$oIE = _IECreate("http://www.bendes.nl</SPAN>/?go=werk&type=&kies=21</SPAN>" target="_blank">http://www.bendes.nl/?go=werk&type=&kies=21"</SPAN>)

_IEQuit($oIE)

$i += 1

Sleep(30000)

EndIf

WEnd

EndFunc

func bank()

$oIE = _IECreate("http://www.bendes.nl</SPAN>/?go=bank" target="_blank">http://www.bendes.nl/?go=bank"</SPAN>)

$oForm = _IEFormGetCollection ($oIE, 0)

$myEdit = _IEFormElementGetCollection ($oForm, 0)

$myButton = _IEFormElementGetCollection ($oForm, 2)

_IEFormElementSetValue($myEdit, "150")

_IEAction( $myButton, "click")

_IEQuit($oIE)

$i = "0"

boot()

EndFunc

When it executes the function bank() at the end it says "The requested operation on this object has failed" Why?

Edited by PcExpert
Link to comment
Share on other sites

We need the full error text from SciTe. Also look at SciTe debug mode (see my sig) and perhaps look at _IEErrorHandlerRegister.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

The problem seems to be gone now. But there's another problem:

Page source:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Bendes | Neem jij de macht over?</title>

<meta name="author" content="Bendes"/>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<link rel="stylesheet" type="text/css" href="http://www.bendes.nl/img/layout/style.css" />

<script type="text/javascript">

//bgcolor="#808080"

function klap (klapvar)

{

document.getElementById (klapvar).style.display = "inline";

}

function meter(element, procent) {

document.getElementById(element + 'val').value = procent;

document.getElementById(element).style.width = procent + '%';

}

function zeker(devar)

{

if (confirm("Weet je het zeker?"))

{

window.location = "http://www.bendes.nl/" + devar;

}

else

{

alert ("Nee");

}

}

function openChat()

{

window.open("http://flash.bribble.com/group.html?port=3...=735,height=535");

}

function openWin()

{

window.open("http://www.bendes.nl/plugins/gokkast/index...=400,height=540");

}

function wc(){

if(c>-1){document.getElementById("dl").innerHTML = c;

c = c - 1;setTimeout("wc()", 1000)} }

</script>

</head>

<body>

<!-- pop -->

<!-- end pop -->

<div id="pattern">

<div id="container">

<div id="header">

<h1>Bendes</h1>

<h2>Neem jij de macht over?</h2>

<div id="stats"><div style="margin-left: 120px; position: absolute;"><a href="http://www.bendes.nl/?go=bewerkprofiel">Profiel aanpassen</a></li>

<li><a href="http://www.bendes.nl/?go=vrienden">Vrienden toevoegen</a></li>

</ul>

<h3><img src="http://www.bendes.nl/img/layout/misdaad.jpg" alt="" /><span>Misdaad</span></h3>

<ul>

<li><a href="http://www.bendes.nl/?go=scooter">Scooter stelen</a></li>

<li><a href="http://www.bendes.nl/?go=misdaad">Echte misdaad</a></li>

<li><a href="http://www.bendes.nl/?go=misdaadmelden">Meldt Misdaad</a></li>

</ul>

<h3><img src="http://www.bendes.nl/img/layout/geld.jpg" alt="" /><span>Geld</span></h3>

<ul>

<!-- <li><a href="http://www.bendes.nl/?go=sinterklaas">Sinterklaas <span class="tip">nieuw</span></a></li> -->

<li><a href="http://www.bendes.nl/?go=gangsterwerk">Werk als gangster</a></li>

<li><a href="http://www.bendes.nl/?go=filmprijzen">Film prijzen</a></li>

</ul>

<h3><img src="http://www.bendes.nl/img/layout/bendesgrijs.jpg" alt="" /><span>Families</span></h3>

<ul>

<li><a href="http://www.bendes.nl/?go=bendes&bende=...1">Mijn bende</a></li>

<li><a href="http://www.bendes.nl/?go=prikbord&subf...">Bende forum <span class="tip">nieuw</span></a></li>

<li><a href="http://www.bendes.nl/?go=bendes&bactie...">Bende verlaten</a></li>

<li><a href="http://www.bendes.nl/?go=bendes&bactie...">Rijke bendes</a></li>

<li><a href="http://www.bendes.nl/?go=bendes&bactie...m">Arme Bendes</a></li>

</ul>

<ul>

<li><a href="http://www.bendes.nl/?go=top&type=rang">Top 50 Rang</a></li>

<li><a href="http://www.bendes.nl/?go=huisdieren">Huisdieren <span class="tip">testen</span></a></li>

<li><a href="http://www.bendes.nl/?go=top&type=huisdier">Top 10 huisdieren</a></li>

</ul>

</div>

<div class="clear"></div>

</div>

<div id="footerspacer"></div>

<div id="footer"><span>Copyright © 2007 - Bendes.nl | All Rights Reserved. Design by R&B. Hosted by <a href="http://www.xunasolutions.nl" target="_BLANK">Xuna</a></span></div>

</div>

<script src="urchin-stats.js" type="text/javascript">

</script>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">

</script>

<script type="text/javascript">

_uacct = "UA-1776817-2";

urchinTracker();

</script>

</body>

</html>

<!-- http://www.bendes.nl/img -->

At this page there's a button with the text ' push!' , i need to click it repeaditly. But as you can see, the button calls a javascript function:

<input style="width: 242px;" type="button" value="push!" onclick="pushpush();">

But can I still click the button? If yes, how? Thanks!

Edited by PcExpert
Link to comment
Share on other sites

The same way you click on $myButton in your previous post.

Please put autoit code and webpage source in code or autoit tags instead of quote tags please.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

Please see my sig for a comment about "doesn't work".

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

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...