Hi list, Arachne allows to define a file specification as an index (generator) on local directories. This feature was probably meant for testing web pages, because the pages on your local drive behave behave in the same way as on on the server. E.g. you type the path ending with a backslash - and you get the file path\index.shtml, or path\default.htm or whatever. You can define the configuration variable 'Index' either on the misc. options page or by editing arachne.cfg.
Very interesting is that at this place you can even introduce an external program: Whenever you need to scan a directory, and type a directory ending with a backslash this program will be called and obtains the directory path as its command line parameter. This allows a very principle improvement for the d2h utility I proposed earlier this week. With these settings in arachne.cfg: Index d2h.dgi ShiftF3 file:x:\ you will be able to call the utility whenever you want through a self defined function key (e.g. Shift+F3). It will then immediately scan the directory given in the key definition (in the example it is x:\). The outcoming page will give you access to all directories and all drives of your local system. More than that: any time you write a local directory to Arachne's address line ending with a backlash (without file specification) the d2h.dgi will be called and takes the directory from the address line as a parameter. To wake your phantasy I uploaded a screenshot: http://www.volny.cz/cce.zizkov/download/d2hscr.zbm The awk script has been heavily improved. There are no more buttons on the screen. Files are now sorted alphabetically by extension and a bug in the searching routine has been removed. I hope the new scripts are not only easier to use, but also easier to understand and to modify for those who want to do so. d2h version 0.0.2 can be downloaded from: http://www.volny.cz/cce.zizkov/download/d2h002.zip Have fun Christof Lange _______________________________________________ Christof Lange <[EMAIL PROTECTED]> Prokopova 4, 130 00 Praha 3, Czech Republic phone: (+420) 222 78 06 73 / 222 78 20 02 http://www.volny.cz/cce.zizkov