Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to grab HTML variable to use in vbscript (HTA)

Status
Not open for further replies.

subternal

Technical User
Jun 20, 2013
1
US
Im new at vbscript but self-taught. Long story short Im trying to find a script to open up a browser in the background, read a line thats in a container and use that variable in my vbscript to open up and image on a network folder.

Ok so I'll be working on the client side (even though I may have access to the web files on the server, Im more trying to do this from the client). There is a monitor(s) throughout the office that dispaly a very simple text display; top line would read " cubicle 3"
next line would read "Image123" and the last line would read "3:43pm"

so essentialy the display is just indicating 'cubicle(workstation) 3' is working on image123 (or whatever image 13, 412, 223...) and lastly is just the time(obviously). The webpage, as I said before is on an internal network at http:\\blah\blah blah\status.html or something like that.

The script I am trying to create will simply look at that webpage or html, hopefully, read the image number (image213, or whatever) and put that into a variable for the vbscript to use. var = currentimage (or whatever).
I know or understand the script to use picturebox, but I dont know how to parse the html to give it a variable to search for the file. Does that make more sense?

Can anyone help or point in the right direction to find a script that will grab or parse that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top