Go to the first, previous, next, last section, table of contents.


File database window

Each system in THOR can have its own file database. This is the window that is used to perform operations on this file database.

This file database can be used to maintain a list of files from a BBS you call, or a list of file on Aminet, etc.

The operation of this window might seem confusing at first, but it's fairly straight-forward. Several gadgets are available in this window:

Areas
When this gadget is pressed in, the list in the window will contain the different file areas available in the database gadget. Several areas can be selected for some operation by dragselection with the mouse.
Files
This is a "virtual" area where files can be sorted etc. If you have any file areas selected and then press this gadget, all files in the selected areas will be added to this list. If you select any files here, and then press the "Hold" gadget, the selected files will be moved to the Hold virtual area. Files can be download, deleted etc. from here. When leaving this virtual area, the files will still remain.
Hold
This virtual area functions the same as the "Files" area, except that any files found in a search will end up here.
Date
This is a date that will be used when searching for files. Note: If the date is todays date, it will not be used when searching, it will only be used if it is anything else than todays date. If this date is used when searching (which means it's something else than todays date), only files from this date will be found in a search. By setting a date to e.g. 10 days ago, and searching for "*", all files newer than 10 days will be added to "Hold".
Maintenance
When files are deleted from the database, they still take space on disk. By using this function, these files will be physically deleted from disk and won't take any space any longer. As an added bonus, the filedatabase will also be optimized and the hash tables will be expanded if the database is large.
Download
By using this function, you can add download events for the files you have selected. This is only available on system types supporting download.
Search
This function is used to search in the filedatabase. Two types of searching is available: 1. Exact filename search, which means that the search will find any file matching the filename given exactly . Wildcards are supported, so a search for "ABBS#?" will find all files starting with "ABBS" in the name. 2. Keyword search, which means that the search will include both filenames and descriptions. Standard AmigaDOS wildcards can be used, and all found files will end up in the "Hold" area. The search can be restricted by selecting the File Areas to search in before selecting this function.
Sort
This function will, if selected while Areas is the active view, sort the areas in the database either on disk or only in the window. If "Files" or "Hold" is active, the files will be sorted in the current view. If sorting files, you can also selected whether to sort after filename, number of downloads, date, or description.
Remove
This function will remove from the window the selected areas of files. It will not have any effect on the organization of the areas/files on disk.
Delete
This function will delete the selected areas/files from disk. Use of "Maintenance" might be useful if you have deleted any areas of many files.
Clear/Mark
If any areas/files are selected, this function will de-select all selected items. If no areas/files are selected, this function will instead select all items in the current view.
Save
This function will let you save to disk or clipboard the all/selected areas/files in the current view. The list saved to disk/clipboard will look exactly like the list shown in the current view.
Invert
If any areas/files is selected, this function will deselect these any instead select those previously not selected.

Several ARexx-scripts are available the uses the filedatabase for various operations, here are a few of them:

In the "rexx/" directory:

AddFileList.br           - Adds a ABBS filelist to the database. No 
                           checking for already existing files is performed.
AddAmiNetFileList.br     - Adds a Aminet INDEX/RECENT file list to the
                           database. No checking for already existing
                           files is performed.
ClearFileDataBase.br     - Clears the file database for the given system.
FindFile.fse             - Lets you search in the database from the internal
                           Full Screen Editor in THOR and include the found
                           files at the current cursor position.

Several example scripts using the file database is also available in the "rexx/examples/" directory.

The position and size of this window is saved with the rest of the settings in the section Visual configuration window.


Go to the first, previous, next, last section, table of contents.