Jump to content

Recommended Posts

Posted (edited)

How do you read dynamic text in a span property on a web page: Ex.

"<span id="progress" style="font-weight:normal; font-size:10px;"></span>"

I tried a few things including reading the page to a file, but no luck, and there isn't any info on the text if you try to look at the source.

Edited by Champak
Posted

Can't test this right now, but you should be able to use _IETagNameGetCollection to nab the text from inside the tags. The help file example is spot on for what you want.

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
Posted (edited)

Figured it out, did this instead.

$blue = _IEGetObjById ( $oIE, "progress");======"progress" according to the first post.
MsgBox(0, "Here" , _IEPropertyGet($blue , "innertext"))

Thanks

Edited by Champak

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
  • Recently Browsing   0 members

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