Chelsi Posted September 23, 2015 Posted September 23, 2015 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
Moderators JLogan3o13 Posted September 23, 2015 Moderators Posted September 23, 2015 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!
Chelsi Posted September 24, 2015 Author Posted September 24, 2015 (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¤cy=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¤cy=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¤cy=USD&underlying_symbol=RDMOON&amount=1&date_start=now&type=CALL&L=S0P&l=EN' & $i) _IEAction($o_Stayfall[$i], "click") Nextthx for helping Edited September 24, 2015 by Chelsi
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now