Jump to content
Sign in to follow this  
USama

how could i press a button on internet explorer

Recommended Posts

USama

i want to press answer button on yahoo answers

http://answers.yahoo.com/question/index;_ylt=AtXLed9a.Tcii9eJkRwULQWg5HNG;_ylv=3?qid=20100613024010AAbMv1P

press it minimized and normal please ...

i tried this

#include <IE.au3>


$oIE =_IECreate("http://answers.yahoo.com/question/index;_ylt=AtXLed9a.Tcii9eJkRwULQWg5HNG;_ylv=3?qid=20100613024010AAbMv1P",0,1,1);opens the webpage

Sleep(2000)

$o_signin=_IEGetObjByName($oIE,"cta")
    Sleep(2000)
    _IEAction($o_signin,"click")

post-53725-12764255076421_thumb.jpg

Share this post


Link to post
Share on other sites
Igzter

i want to press answer button on yahoo answers

http://answers.yahoo.com/question/index;_ylt=AtXLed9a.Tcii9eJkRwULQWg5HNG;_ylv=3?qid=20100613024010AAbMv1P

press it minimized and normal please ...

i tried this

#include <IE.au3>


$oIE =_IECreate("http://answers.yahoo.com/question/index;_ylt=AtXLed9a.Tcii9eJkRwULQWg5HNG;_ylv=3?qid=20100613024010AAbMv1P",0,1,1);opens the webpage

Sleep(2000)

$o_signin=_IEGetObjByName($oIE,"cta")
    Sleep(2000)
    _IEAction($o_signin,"click")

Wierd you say you want to click Answer - but you are trying to click signin in your code - anyhow below is not advanced (and its a bit static if they change ID on the answer button) but it works. Change Answer to Sign In if you want to click that.

Ig

#include <IE.au3>
$oIE = _IECreate("about:blank")
_IENavigate( $oIE ,"http://answers.yahoo.com/question/index;_ylt=AtXLed9a.Tcii9eJkRwULQWg5HNG;_ylv=3?qid=20100613024010AAbMv1P" )
_IELinkClickByText( $oIE, "Answer" )

Share this post


Link to post
Share on other sites
USama

Wierd you say you want to click Answer - but you are trying to click signin in your code - anyhow below is not advanced (and its a bit static if they change ID on the answer button) but it works. Change Answer to Sign In if you want to click that.

Ig

#include <IE.au3>
$oIE = _IECreate("about:blank")
_IENavigate( $oIE ,"http://answers.yahoo.com/question/index;_ylt=AtXLed9a.Tcii9eJkRwULQWg5HNG;_ylv=3?qid=20100613024010AAbMv1P" )
_IELinkClickByText( $oIE, "Answer" )

dosent work

please help

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.