Jump to content
Chelsi

IE Clicking Problem

Recommended Posts

Chelsi

Hi all.

is there any way to open same URL in 3 tabs and then clicking a button in the same time (three of them ?

 

 

Thanks 

Share this post


Link to post
Share on other sites
JLogan3o13

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?


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Chelsi

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

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

×