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.
Help for those learning Tcl or writing their own scripts.
edwardthefma
Voice
Posts: 2 Joined: Mon Jan 11, 2010 10:29 pm
Post
by edwardthefma » Thu Jan 14, 2010 1:21 pm
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
arfer
Master
Posts: 436 Joined: Fri Nov 26, 2004 8:45 pm
Location: Manchester, UK
Post
by arfer » Mon Jan 18, 2010 9:58 am
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