Jump to content

Click BY id little help


nawafdevil
 Share

Recommended Posts

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 ?

Link to comment
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 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...