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.

lynx-txt file

Old posts that have not been replied to for several years.
Locked
N
NewzUK
Master
Posts: 200
Joined: Mon Nov 18, 2002 3:10 am
Location: Auckland, New Zealand
Contact:

lynx-txt file

Post by NewzUK »

Hi

I currently have a small mIRC script and .bat file which, running on a timer, executes lynx to save the contents of a webpage to a .txt file, then the script reads a certain line of news to the channel if it's changed...

I'm trying to replicate this process for tcl so I can do away with the mIRC side of things, and I'm wondering what would take the place of the .bat file to do the dumping to the txt file?

Any help would be much appreciated!

Thanks.
#Newsroom - Where News & Markets Connect
http://www.inewsroom.net
#Newsroom on irc.othernet.org
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

just have your timer set somevar [exec lynx -someoptions url] or > redirect it to a textfile

or use open instead of exec

http://www.tcl.tk/man/tcl8.3/TclCmd/open.htm
photon?
Locked