This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

looking for a script or hep with getting started

Help for those learning Tcl or writing their own scripts.
Post Reply
e
edwardthefma
Voice
Posts: 2
Joined: Mon Jan 11, 2010 10:29 pm

looking for a script or hep with getting started

Post by edwardthefma »

looking for a script
i dont know if this is possible but im wanting to have a script that
can read text results from a web page and display them
if you could help me get started since i dont know how to go about doing this
User avatar
arfer
Master
Posts: 436
Joined: Fri Nov 26, 2004 8:45 pm
Location: Manchester, UK

Post by arfer »

Tcl scripts that connect to and read web content are fairly commonplace.

It is generally achieved by using the http package (supplied by default with Tcl installations).

I recommend you download a few such scripts from Egghelp Tcl archive and see how they work.

The tricky part is using regular expressions to seperate out the bits you want from the page.
I must have had nothing to do
Post Reply