tkget.tcl
 
click here to return the the tcl.prehiti.net homepage
Description Usage Requirements
Screen Shots Key Bindings Todo List

Description

tkget.tcl is a graphical front-end to wget, a handy app that can get resources off of http and ftp servers.

Screen Shots

The Main Window.
The Range Dialog
The Url Dialog

Usage

tkget.tcl is simple to use in its basic form.  Just insert url text into the top text widget, one line per url.  When you have entered everything you want to download, click the get button.

There are a few options that affect the behavior of tkget.tcl:

rec level Changing this setting effects how many recursive levels of links wget will traverse.  Using zero will keep wget from traversing any links and will just grab the target page.
username The username to use for authenticated access
password The password to use for authenticated access

In addition to the basic functionality of tkget.tcl, there are two additional ways to specify what urls to load; the Url Dialog and the Range Dialog.
 
The Url Dialog

The "paste urls" button will open up the Url Dialog.  In order to open this dialog, there must be a valid url in the system's cut/paste buffer.  The Url Dialog will open up and begin fetching the text of the page at the specified url.  When it is done, just click the "ok" button and all links from the page will be entered into the Main Window's url text widget.

The Url Dialog allows for filtering of references in a given page.  For instance, it can allow only links that meet a regular expression for images.  Additionally, with the checkbuttons next to the filter entry wiget, the Url Dialog can include any combination of href references and embedded image references.
If you change the glob pattern or checkbuttons, you will need to hit the "get" button again so the page can be reloaded with the new settings.
 
The Range Dialog

The "paste range" button will open up the Range Dialog.  In order to open this dialog, there must be a validd url in the system's cut/paste buffer.  The Range Dialog will find the last number range present in the specified url and fill the start and end entries with that number.  If the url is "http://www.yahoo.com/something1.html" the start and end entries would show "1".  You can then modify the end to download the appropriate range of files.  The Range Dialog will not finish unless there is a selection in the url entry... see this image above for an example of this.

Command Line Args

There are currently no command line options.

Key Bindings

<Double-Escape> Exit
<F1>, <Shift-Return> Download Urls
<Escape> Clear Text
<Button-3> Paste Url

Requirements

Todo List
 
Bugs

General