Total Commander Menu Editor 1.05
By Roman Korcek (roman_korcek@hotmail.com; thehacker@host.sk), 5 Feb 2004

http://www.angelfire.com/sk/thehacker/tcme/
http://thehacker.host.sk/tcme/


Overview:
---------

TCME is a tool using which you can modify your TC menu or create a new one
from scratch. It is divided into two panels, just like TC, where the left
(source) panel contains all of TC's internal commands and the right one
shows the menu. You can add commands to the menu, create submenus,
separators and the Start menu. TCME was designed to be easy to use by
keyboard only, but also supports drag-and-drop.


Installation:
-------------

None needed, just unpack the archive to any directory you desire. The
archive should contain these 4 files and this directory:

tcme.exe     - the program itself
sclist.txt   - a list of TC's default shortcuts that you can edit yourself
whatsnew.txt - a list of all changes between releases
readme.txt   - this file

Tcme.exe can be run without any additional files, however, sclist.txt is
useful since TCME reads it upon saving a menu.


Usage:
------

Simply start TCME and your current TC menu should be loaded automatically.

Source panel:
All of TC's internal commands are listed here. You can use the following
keys in this panel:

F5  - copies the currently selected command to the menu
F6  - copies and gives you the choice to rename the item
/   - activates the filter field
Esc - clears the filter field

You can also drag commands to the menu. If you do this using the left
mouse button the command is copied, using the right button you also can
rename it.

Menu panel:
Your current menu structure is shown here. Each item is indented according
to the submenu level it is in and the checkbox next to it determines if
the respective shortcut for the command (like Alt+F5 for Pack...) will be
saved with the menu (= will be shown on the menu). Keys you can use here:

Ctrl-Up/Down - moves item up/down
F7           - creates a submenu
Ins          - display a menu showing you what you can insert - submenu,
               separator, HELP_BREAK, STARTMENU
Del          - deletes the item
Shift-Del    - if the item is a submenu then deletes its contents, too
Enter        - lets you rename the item
Space        - toggles the checkbox state

You can move items up/down using the mouse, too. Clicking the right mouse
button brings up the same menu as when pressing Insert, however, with the
possibility to delete the current item.

HELP_BREAK is a point after which the menu gets right-aligned; in TC's
standard menu it is right before the Start menu.

Below the two panels are the names of the internal commands for the
currently selected items.

Filter:
When you type some letters (words) in here only the internal commands that
contain these letters (words) will be shown. Activate with /, clear with
Esc. (Thanks to Mozilla for Type Ahead. :-) )

Save as numbers:
When this checkbox is checked TCME saves the menu with numbers instead of
internal command names (eg 501 instead of cm_SearchFor).

Sorted source list:
Well, sorts the source list. ;-)


Notes:
------

Save As and Load both set the file name for Save. That means that if you
load a menu and later want save it you should use Save As the first time
you are saving it (unless you want to overwrite the original file).

Sclist.txt contains the default TC shortcuts. When saving, TCME first
checks wincmd.ini for a user defined shortcut for each item and if it does
not find one it checks sclist.txt. I made it this way so people can easily
add new internal shortcuts (like Ctrl-Z for Edit Comment in TC 5.50) and
do not have to download a new TCME version each time a new TC version is
out. Also, the first line of the file specifies that the keyboard shortcut
Ctrl+\ is used to go to the root directory. In case you are using Ctrl+<
to get to the root dir (for instance if you are using a French keyboard),
you should change that line to cm_GoToRoot=C+< .


Licence:
--------

You are allowed to use the program and the source in any way you wish,
however, I would be glad if you let me know and possibly give me some
credit in case you want to use the program or the source somewhere.


Contact:
--------

You can write me to roman_korcek@hotmail.com, and as long as the address
works, thehacker@host.sk. All mail except spam is welcome.
New versions will be anounced in the TCME thread at the official TC
support forums at http://www.ghisler.ch/forum/viewtopic.php?t=88 where you
can post any TCME related questions, comments, suggestions or bug reports,
too.

New versions of TCME will be available from the TCME page
http://www.angelfire.com/sk/thehacker/tcme/
http://thehacker.host.sk/tcme/ .

You are also invited to visit my personal page at
http://www.angelfire.com/sk/thehacker/
http://thehacker.host.sk/ .


Thanks to:
----------

Christian Ghisler                  for Total Commander (http://www.ghisler.com/)
Panos                              for the inspiration
Forum users                        for the feedback and support
Markus Oberhumer and Laszlo Molnar for UPX (http://upx.sourceforge.net/)
Borland                            for Delphi (http://www.borland.com/)
Alan Phillips                      for PFE
Mozilla.org                        for Mozilla
The Host.sk team                   for Host.sk