Jump to content
Sign in to follow this  
Champak

IE Span

Recommended Posts

Champak

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

Share this post


Link to post
Share on other sites
someone

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

Share this post


Link to post
Share on other sites
Champak

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

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  

×