I recycled an old program from DOS days and created a tcl prog which reads a script file at startup and present this as hierarchical menus. I need this to work on several inhomogenous systems where the icons where here and there and everywhere and nowhere, and I need a way to quickly run things. Every menu item could be a complete tcl script, with some restrictions and some helper routines like "select" or "msgbox". Example of a dialog screen with an open sub selection menu: [http://home.arcor.de/hoffenbar/prog/menue.jpg] Some words to some of the functions and keys: * starts the selected item, that is: going down in the hierarchy or exec'ing the underlying commands. * locates and starts the first matching item (top down). Hotkeys are not shown so far. * <.> goes on level up in the hierarchy. * goes to the root menu. * shows the commands behind the current item. * reloads the menu-definition files. __________________________________________________________________________________________ The programm loads all files '''*.mnu''' 1. in the current directory 2. in the program directory unless other dir(s) specified with command line switch '''--mnuDir'''. Those .MNUs can only contain a very limited set of commands: Additionally, the file(s) (progDir)/*.mak are sourced only once at program load time. They could contain almost any tcl command, and are not intended to be edited by an end user. ---- No categorie so far.