Champak Posted April 7, 2008 Share Posted April 7, 2008 (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 April 7, 2008 by Champak Link to comment Share on other sites More sharing options...
someone Posted April 7, 2008 Share Posted April 7, 2008 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 Link to comment Share on other sites More sharing options...
Champak Posted April 9, 2008 Author Share Posted April 9, 2008 (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 April 9, 2008 by Champak Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now