Jump to content
Sign in to follow this  

How to click on this button?

Recommended Posts


Hello, I´m new here so don´t be unkind on me plz. :)   I´m learning new things in AutoIt about HTML automation. I have a problem.

<div class="cooldown_bar_text" id="cooldown_bar_text_ct">Do Circu Turma</div>

Button has got also these parameters :

<a class="cooldown_bar_link" href="index.php?sh=cc3040348aeb181ecec42bc8a9e61497"></a>


This is the HTML code. I´ve tried already this method but it´s not working.


 Func circusprovinciarum()
    $currenturl = _IEPropertyGet($oIE,"locationurl")
    $urldownload = BinaryToString(InetRead($currenturl,1))
      Local $ct = _IEGetObjById($oIE,"cooldown_bar_text_ct")
    If StringInStr($urldownload,"Do Circu Turma            </div>") Then
      ConsoleWrite("It´s here")
           _IEAction($ct, 'click')


Is there any problem? Or this code is totally wrong? Thx for help.

Share this post

Link to post
Share on other sites

Why not try yourself? Can you specify what website are you talking about? This information would turn out to be helpful.

Edited by Au3Builder

Share this post

Link to post
Share on other sites

As you are new here, please make sure to review the Forum Rules, particularly this part --


1. Do not ask for help with AutoIt scripts, post links to, or start discussion topics on the following subjects:

  • Launching, automation or script interaction with games or game servers, regardless of the game.


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  

  • Create New...