Sign in to follow this  
Followers 0
iverson_est

$oIE help

5 posts in this topic

yea i want to use _IELinkClickByText . The help file example was like this : $oIE = _IE_Example ("basic")

_IELinkClickByText ($oIE, "user forum")

I wonder what the $oIE= should equal ? :whistle:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Enternum - parim brauseril põhinev mäng eestis!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META name="Keywords" content="mäng, RPG, ,brauseri põhine, rollimäng, Indrek Reemi">
<META name="Description" content="Enternum.net - brauseril põhinev rollimäng">
<META name="Author" content="Indrek Reemi">
<link href="kujundused/hall/style.css" rel="stylesheet" type="text/css" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">_uacct = "UA-1295085-1"; urchinTracker(); </script>
</head>

<body onload="mahalugeja()">

<script language='Javascript' type='text/javascript'>
<!--
    var min = 343;
;
    function mahalugeja() {
        setTimeout("mahalugeja()", 1000);
        if (min <= 0) {min = 900;}
        document.kelluke.kellad.value = Math.floor(min/60)+":"+(((min%60)>9)?"":"0")+(min%60);
        min = min - 1;
    }
//-->
</script><table width="724" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="lbordertop"></td>
    <td class="topborder"></td>
    <td class="rbordertop"></td>
  </tr>
   <tr>
    <td class="lborder" width="14"></td>
    <td class="logo" height="171" width="696"></td>

    <td class="rborder" width="14">&nbsp;</td>
  </tr>
  <tr>
    <td class="lborder"></td>
    <td class="dotshor"></td>
    <td class="rborder"></td>
  </tr>
  <tr>
    <td class="lborder" width="14"></td>

    <td class="taust"><table width="100%" height="33" border="0" cellpadding="0" cellspacing="1">
        <tr> 
          <td height="30" class="lairiba"><b>Tere, conf </b></td>
        </tr>
      </table></td>
    <td class="rborder" width="14">&nbsp;</td>
  </tr>
   <tr>
    <td class="lborder"></td>

    <td class="dotshor"></td>
    <td class="rborder"></td>
  </tr>
    <tr>
    <td class="lborder" width="14"></td>
    <td class="taust"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="160" class="menuriba"></td>
          <td width="36" class="vertdots"></td>

          <td width="500" height="20" class="sisuriba"><strong>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <form name="kelluke" action="#">
              <tr>
            <th width="122" scope="col"><div align="left"> :: turg</div></th>
            <td width="895">
              <div align="right">
               <input class="kellainput" size="4" type="text" name="kellad" value="" maxlength="5">

                </div></td></tr></form>
        </table>
        </strong>
        </td>
        </tr>
        <tr> 
          <td width="160" valign="top" class="menuriba"><div align="left"> 
    <ul>

      <li class='kaigud'>Käike: 4 624</li>

      <li class='raha'>Raha: 2 338</li>

      <li class='haridus'>Haridust: 4 416</li>

      <li class='toit'>Toitu: 7</li>

      <li class='tervis'>Tervis: 100%</li>

        <li class='kaitse'>Kaitse: 204 521</li>

      <li class='rynne'>Rünne: 3 421</li>


    </ul>                                       
                                        <ul>

      <li><a href="index.php">Avaleht</a></li>

      <li><a href="stat.php">Statistika</a></li>

      <li><a href="reisi.php">Reisimine</a></li>

      <li><a href="pank.php">Pank</a></li>

      <li><a href="arved.php">Arved</a></li>

      <li><a href="aktsiad.php">Aktsiad</a></li>

      <li><a href="turg.php">Turg</a></li>

      <li><a href="puskar.php">Puskar</a></li>

      <li><a href="kinnisvara.php">Kinnisvara</a></li>

      <li><a href="koolita.php">Koolitamine</a></li>

      <li><a href="elukutse.php">Töökoht</a></li>

      <li><a href="maffia.php">Maffia</a></li>

      <li><a href="turva.php">Turvasüsteem</a></li>

            <li><a href="spioonid.php">Spioonid</a></li>

      <li><a href="kasiino.php">Kasiino</a></li>

      <li><a href="members.php">Mängijad</a></li>

          <li><a href="kamp.php">Kamp</a></li>

          <li><a href="kambad.php">Kampade nimekiri</a></li>

      <li><a href="tegevused.php">Sündmused</a></li>

      <li><a href="seaded.php">Konto seaded</a></li>

      <li><a href="postkast.php">Postkast</a></li>

            <li><a href="sms.php">SMS teenused</a></li>

            <li><a href="abi.php">Õpetus algajatele</a></li>

      <li><a href="kkk.php">KKK</a></li>

      <li><a href="http://foorum.enternum.net" target="_blank">Foorum</a></li>

      <li><a href="kontakt.php">Kontakt</a></li>

      <li><a href="logout.php">Logi välja</a></li>

    </ul><br></div></td>
          <td class="vertdots"></td>

          <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="3">
              <tr> 
                <td><style type="text/css">
<!--
.style1 {
        color: #000000;
        font-weight: bold;
}
.style2 {
        color: #CC3300;
        font-weight: bold;
}
.style4 {
    font-size: 12px;
    font-weight: bold;
    font-style: italic;
}
-->
</style>
<form action="turg.php" method="post">
<div align="center">
<table width="100%" height="0" border="0">
                    <tr>
                          <td></td>
                    </tr>
                    <tr>

                      <td><p><strong>
                                                Turu asukoht: Tartu </strong></p>
                        <p>Turult on sul võimalik osta erinevaid kaupu, mida läheb sul vaja ka edukaks äriks. 

Maksmisviis on raha.
 </p></td>
                    </tr>
    </table>
  <table width="100%" border="0">
    <tr>
      <td><span class="style2">Osta kaupu</span></td>

    </tr>
  </table>
  <table width="100%" border="0" cellpadding="0" cellspacing="1">

    <tr>
      <td width="183"><strong>Ühik</strong></td>
      <td width="284"><div align="center" class="style1">
        <div align="left">Sul on</div>

      </div></td>
      <td width="196"><strong>Ühiku hind</strong></td>
      <td width="94"><span class="style1">Palju osta</span></td>
      <td width="249"><strong>Osta</strong></td>
    </tr>
    <tr>
      <td width="183">Toit</td>

      <td width="284">7</td>
      <td width="196">7 EEK</td>
      <td width="94"><input name="toitosta" type="text" class="i2" size="10" /></td>
      <td width="249"><input type="submit" name="osta" class="i" value="Osta" /></td>
    </tr>
    <tr>
      <td>Teravili</td>

      <td>3</td>
      <td>2 EEK</td>
      <td><input name="teraviliosta" type="text" class="i2" size="10" /></td>
      <td><input type="submit" name="osta2" class="i" value="Osta" /></td>
    </tr>
    <tr>
      <td>Suhkur</td>

      <td>1 987</td>
      <td>3 EEK</td>
      <td><input name="suhkurosta" type="text" class="i2" size="10" /></td>
      <td><input type="submit" name="osta3" class="i" value="Osta" /></td>
    </tr>
    <tr>
      <td>Pärm</td>

      <td>919</td>
      <td>5 EEK</td>
      <td><input name="parmosta" type="text"  class="i2" size="10" /></td>
      <td><input type="submit" name="osta4" class="i" value="Osta" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>

      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
  <table width="100%" border="0" cellpadding="0" cellspacing="1">
    <tr>
      <td width="69"><strong>Ühik</strong></td>

      <td width="214"><div align="center" class="style1">
          <div align="left">Sul on</div>
      </div></td>
      <td width="189"><strong>Ühiku hind</strong></td>
      <td width="70"><strong>Kaitse</strong></td>
      <td width="81"><strong>R&uuml;nne</strong></td>

      <td width="97"><span class="style1">Palju osta</span></td>
   <td width="286"><strong>Osta</strong></td>
    </tr>
    <tr>
      <td width="69">Kurikas</td>
      <td width="214">0</td>
      <td width="189">3 600 EEK</td>

      <td width="70">26</td>
      <td width="81">4</td>
      <td width="97"><input name="kurikasosta" type="text" class="i2" id="kurikasosta" size="10" /></td>
      <td width="286"><input type="submit" name="osta5" class="i" value="Osta" /></td>
    </tr>
    <tr>
      <td>Nuga</td>

      <td>0</td>
      <td>5 200 EEK</td>
      <td>17</td>
      <td>25</td>
      <td><input name="nugaosta" type="text" class="i2" id="nugaosta" size="10" /></td>
      <td><input name="osta6" type="submit" class="i" id="osta6" value="Osta" /></td>
    </tr>

    <tr>
      <td>Kirves</td>
      <td>0</td>
      <td>9 500 EEK</td>
      <td>36</td>
      <td>26</td>

      <td><input name="kirvesosta" type="text" class="i2" id="kirvesosta" size="10" /></td>
      <td><input name="osta7" type="submit" class="i" id="osta7" value="Osta" /></td>
    </tr>
    <tr>
      <td>Püstol</td>
      <td>0</td>
      <td>12 600 EEK</td>

      <td>31</td>
      <td>47</td>
      <td><input name="relvosta" type="text"  class="i2" id="relvosta" size="10" /></td>
      <td><input name="osta8" type="submit" class="i" id="osta8" value="Osta" /></td>
    </tr>
  </table>
  <p>&nbsp;</p>
  <table width="100%" border="0">

    <tr>
      <td><span class="style2">Müü kaupu</span></td>
    </tr>
  </table>
  <table width="100%" border="0" cellpadding="0" cellspacing="1">
    <tr>
      <td width="176"><strong>Ühik</strong></td>
      <td width="181"><strong>Müügi hind</strong></td>

      <td width="305"><strong>Sul on</strong></td>
      <td width="98"><span class="style1">Palju müüa</span></td>
      <td width="246"><strong>Müü</strong></td>
    </tr>
    <tr>
      <td>Toit</td>
      <td>2 EEK</td>

      <td>7</td>
      <td><input name="toitmuu" type="text" class="i2" size="10" /></td>
      <td><input type="submit" name="muu" class="i" value="Müü" /></td>
    </tr>
        <tr>
      <td>Puskar</td>
      <td>63 EEK</td>

      <td>36 393</td>
      <td><input name="puskarmuu" type="text" class="i2" size="10" /></td>
      <td><input type="submit" name="muu2" class="i" value="Müü" /></td>
    </tr>
    <tr>
      <td>Kurikas</td>
      <td>3000 EEK</td>

      <td>0</td>
      <td><input name="kurikasmuu" type="text" class="i2" size="10" /></td>
      <td><input type="submit" name="muu3" class="i" value="Müü" /></td>
    </tr>
        <tr>
      <td>Nuga</td>
      <td>4500 EEK</td>

      <td>0</td>
      <td><input name="nugamuu" type="text" class="i2" size="10" /></td>
      <td><input type="submit" name="muu4" class="i" value="Müü" /></td>
    </tr>
        <tr>
      <td>Kirves</td>
      <td>7000 EEK</td>

      <td>0</td>
      <td><input name="kirvesmuu" type="text" class="i2" size="10" /></td>
      <td><input type="submit" name="muu5" class="i" value="Müü" /></td>
    </tr>
        <tr>
      <td>Püstol</td>
      <td>9500 EEK</td>

      <td>0</td>
      <td><input name="relvmuu" type="text" class="i2" size="10" /></td>
      <td><input type="submit" name="muu6" class="i" value="Müü" /></td>
    </tr>
  </table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="col">&nbsp;</th>

    </tr>
    <tr>
      <th scope="col">&nbsp;</th>
    </tr>
  </table>
  <p>&nbsp;</p>
</div>
</form>
  </td>
  </tr>

            </table></td>
        </tr>
        <tr>
          <td colspan="3" class="dotshor"></td>
        </tr>
        <tr>
          <td colspan="3" class="copyright"><div align="left">Indrek Reemi | info@enternum.net</div></td>
        </tr>

      </table>

    </td>
    <td class="rborder" width="14">&nbsp;</td>
  </tr>
  <tr>
    <td class="lborderbottom">&nbsp;</td>
    <td class="borderbottom">&nbsp;</td>
    <td class="rborderbottom">&nbsp;</td>

  </tr>
</table></body>
</html>

Share this post


Link to post
Share on other sites



I wonder what your question is :whistle:


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

aight :whistle:

well, if i want to use _IELinkClickByText i must put a code like the help file said: $oIE = _IE_Example ("basic")

_IELinkClickByText ($oIE, "user forum")

now, i know what to put instead of "user forum", "turg" might be it, but i don't know what to put behind $oIE= . I mean, the _IE_Example ("basic") is just an example... :)

Share this post


Link to post
Share on other sites

ok i mixed some shit up watching my old progs written, it basically works now but...

Share this post


Link to post
Share on other sites

Look at the examples for _IECreate or _IEAttach

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0