nawafdevil

Click BY id little help

7 posts in this topic

so i was working on something and i am not getting any success.

i wanted to start youtube video using click by id.

here is my current script

 

#include <IE.au3>



   Global $oIE = _IECreate ("http://thehackernews.com/2015/09/bypass-android-lockscreen.html")


   Sleep(5000)


_IElinkclickbyid ( $oIE, "ytp-play-button")

what i want is it opens the link above.then sleeps for some time.then there is a youtube embedded video there .it clicks it and video starts to play .

so how can i click it ?using click by id ?

Share this post


Link to post
Share on other sites



Cant find any info on

_IElinkclickbyid

Please post a link to this.


Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites

Use _IEGetObjById and then _IEAction

i am confused.can u plz make me a simple program about it?i mean just complete the above one so that it clicks the video and video starts.plz plz .i am trying and trying.but i am just new

Cant find any info on

_IElinkclickbyid

Please post a link to this.

i am wrong about it 

Share this post


Link to post
Share on other sites

The helpfile contains examples.

thats whati didnt got it.i am confused

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