Jump to content

Recommended Posts

  • Moderators
Posted

You're not going to get millisecond precision on clicking the button at exactly the same moment, no. But you can generally do what you're after. Can you give an example of the site, and what type of button you're after?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted (edited)

here's my code,

it will click tab 1, but not tab 2 and 3.. :(

#include <IE.au3>

$navOpenInNewTab = 0x0800
$navOpenInBackgroundTab = 0x1000

$oIE = _IECreate("https://www.binary.com/d/trade.cgi?market=random&time=7t&form_name=risefall&expiry_type=duration&amount_type=stake&H=S0P&currency=USD&underlying_symbol=RDMOON&amount=1&date_start=now&type=CALL&L=S0P&l=EN")
Dim $aIE[5],$o_Stayfall[5]

_IEErrorNotify(False)

For $i = 1 to 2 Step 1
    __IENavigate($oIE, "https://www.binary.com/d/trade.cgi?market=random&time=7t&form_name=risefall&expiry_type=duration&amount_type=stake&H=S0P&currency=USD&underlying_symbol=RDMOON&amount=1&date_start=now&type=CALL&L=S0P&l=EN" & $i, 1, $navOpenInBackgroundTab)
    Do
      $aIE[$i] = _IEFormGetObjByName($oIE,"orderform")
      $o_Stayfall[$i]= _IEFormElementGetObjByName($aIE[$i], 'btn_buybet_10');;;ini Pruchase TOUCHES :)
      Sleep(100)
    Until IsObj($aIE[$i])
    
    _IENavigate($aIE[$i], 'https://www.binary.com/d/trade.cgi?market=random&time=7t&form_name=risefall&expiry_type=duration&amount_type=stake&H=S0P&currency=USD&underlying_symbol=RDMOON&amount=1&date_start=now&type=CALL&L=S0P&l=EN' & $i)
    _IEAction($o_Stayfall[$i], "click")
Next

thx for helping

Edited by Chelsi

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
×
×
  • Create New...