Total Commander Menu Editor
Moderators: white, Hacker, petermad, Stefan2
Hi,
TCME 1.04 is out ( http://www.angelfire.com/sk/thehacker/tcme/ or http://thehacker.host.sk/tcme/ ).
- pressing up / down arrow keys in Filter moves focus to source panel
- pressing / in target panel activates filter
- double-clicking in target panel simulates Enter (rename item)
- Command label is now automatically updated when the source panel gets the focus (for example when the user leaves the Filter by pressing Tab or one of the up / down arrows)
- updated sclist.txt for TC 6.0
- allowed for lines like [Left]=0; in totalcmd.inc (now TCME only checks if each line starts with a 'cm_'; the ones which don't are skipped)
- fixed a bug which would find the wrong command name and number from totalcmd.inc for a given menuitem upon loading. Each loaded menuitem is compared against the whole totalcmd.inc until a match is found. Unfortunately, cm_exchangeselection (cm_exsel) is higher in the list than cm_exchange (cm_ex), so before cm_ex gets compared to cm_ex it gets compared to cm_exsel (which contains the string cm_ex) and we get a false positive find result. Well, I fixed that.
- added "Delete" and "Delete entire submenu" items to the right-click menu. They are not visible when the menu is called by pressing Insert
- added some more shortcuts to sclist.txt which I missed before (mainly because they aren't documented); thanks to Peter Madsen
- removed the source from the main distribution; you can download it separately from the homepage now
Thanks
Roman
TCME 1.04 is out ( http://www.angelfire.com/sk/thehacker/tcme/ or http://thehacker.host.sk/tcme/ ).
- pressing up / down arrow keys in Filter moves focus to source panel
- pressing / in target panel activates filter
- double-clicking in target panel simulates Enter (rename item)
- Command label is now automatically updated when the source panel gets the focus (for example when the user leaves the Filter by pressing Tab or one of the up / down arrows)
- updated sclist.txt for TC 6.0
- allowed for lines like [Left]=0; in totalcmd.inc (now TCME only checks if each line starts with a 'cm_'; the ones which don't are skipped)
- fixed a bug which would find the wrong command name and number from totalcmd.inc for a given menuitem upon loading. Each loaded menuitem is compared against the whole totalcmd.inc until a match is found. Unfortunately, cm_exchangeselection (cm_exsel) is higher in the list than cm_exchange (cm_ex), so before cm_ex gets compared to cm_ex it gets compared to cm_exsel (which contains the string cm_ex) and we get a false positive find result. Well, I fixed that.
- added "Delete" and "Delete entire submenu" items to the right-click menu. They are not visible when the menu is called by pressing Insert
- added some more shortcuts to sclist.txt which I missed before (mainly because they aren't documented); thanks to Peter Madsen
- removed the source from the main distribution; you can download it separately from the homepage now
Thanks
Roman
Hi,
TCME 1.05 is available, links as in previous post, the only addition is that the currently edited menu file is displayed in the title bar.
Thanks
Roman
TCME 1.05 is available, links as in previous post, the only addition is that the currently edited menu file is displayed in the title bar.
Thanks
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
In response to http://ghisler.ch/board/viewtopic.php?p=24877#24877 and below.
Sheepdog,
icfu,
OK well thanks for comments.
Roman
Sheepdog,
Well, TCME takes the commands and their descriptions from the totalcmd.inc it finds in TC's dir... what totalcmd.inc would you like to use?I'd like your program to display my totalcmd.inc for the german description of the commands. Or is it still possible?
icfu,
Any chance for steps to reproduce? I thought I fixed all of these...List index out of bounds, maybe TCME can't handle big menus?
Yes, certainly, I had this in mind when I tried using colors... will have to reprogram a bit to make this possible.I would start with background coloring to make the structure of the menus more obvious. Headers, 1st level entries, 2nd level entries, etc...
Well, I'll see if I can do it somehow optionally. My personal preference is strictly against such things which "emulate" simple keypresses, that's pretty much like having four arrow buttons in TC to move the cursor without having to resort to the keyboard. TCME is meant for advanced users, but I'll take a look at making it accessible for the not so advanced, too.True, but where are left/right arrows for adding/deleting entries, up/down arrows for moving entries?
Yes... I had thought the readme ain't that long for people to read it...All is there but noone knows about it...
OK well thanks for comments.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
TCME takes the path from registry-key 'HKLM\Softw\Ghisler\installdir' There was a complete different as my current TC-path. I think it would be better to use %Commander_path% if possible, for I handle with more than one TC Installations.Hacker wrote:Well, TCME takes the commands and their descriptions from the totalcmd.inc it finds in TC's dir... what totalcmd.inc would you like to use?
I had an fresh installation in 'c:\programme\totalcmd' (that was whereto the 'installdir' pointed). I installed only german language but didn't configure to use german language. When I stared TC there first was errormessage 'couldn't find wcmd_eng.mnu' and then came the 'list out of bound' message - if it is any help.icfuAny chance for steps to reproduce? I thought I fixed all of these...List index out of bounds, maybe TCME can't handle big menus?
No I don't think so but maybe many people are as me and try programs just before have any look at the readmeYes... I had thought the readme ain't that long for people to read it...All is there but noone knows about it...
A 'help'- button would be useful - even if there only the readme is displayed.
Or what about with a 'menu bar' where all commands are available too?
sheepdog
2Sheepdog
tcme "dir=%COMMANDER_PATH%"
You can specify your TC path using a commandline parameter:TCME takes the path from registry-key 'HKLM\Softw\Ghisler\installdir' There was a complete different as my current TC-path. I think it would be better to use %Commander_path% if possible, for I handle with more than one TC Installations.
tcme "dir=%COMMANDER_PATH%"
1. Start TCMEAny chance for steps to reproduce? I thought I fixed all of these...
2. Enter characters in filter field
3. As soon as no entry fits the string in filter field anymore the error occurs
Well, I try to not feel offended. I wouldn't call myself a newbie just because I like to have some comfort when learning how to use a program...TCME is meant for advanced users, but I'll take a look at making it accessible for the not so advanced, too.
Err, do you REALLY think that this is easy to remember on first use when there are no additional hints in the program itself?Yes... I had thought the readme ain't that long for people to read it...
Well, I have no fun learning shortcuts before being able to use a program. I prefer learning them one by one through the usage of the program itself, popup hints, buttons with the keystroke printed on. Why do you think TC has buttons F3-F8?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.
"/" for filter box doesn't work on a german keyboard, it would be SHIFT-7... I have to press "#" instead.
Icfu
Sheepdog,
icfu,
I'll see if I can do it better, somehow. I could make hints with shortcuts, because I find the idea of a menu "Edit" - "Filter /" a bit awkward. Let's see.
Thanks
Roman
Well, that's bad even without TCME, other plugins probably check this, too.TCME takes the path from registry-key 'HKLM\Softw\Ghisler\installdir' There was a complete different as my current TC-path.
The problem is you might not start TCME from TC. But I can probably check if %commander_path% exists upon startup, thanks.I think it would be better to use %Commander_path% if possible, for I handle with more than one TC Installations.
Yep, yep, Panos already said that something like that should be there... ok.A 'help'- button would be useful - even if there only the readme is displayed.
icfu,
Will check, however, I've done this a zillion times, maybe I broke it again somewhere, thanks.1. Start TCME
2. Enter characters in filter field
3. As soon as no entry fits the string in filter field anymore the error occurs
Erm, sorry, I certainly did not mean you being a newbie. I just thought that shortcuts like F5 (copy), F6 (rename), F7 (create "dir"/submenu), Insert (insert), Delete (delete) are easy to remember by experienced TC users.Well, I try to not feel offended. I wouldn't call myself a newbie just because I like to have some comfort when learning how to use a program...
I'll see if I can do it better, somehow. I could make hints with shortcuts, because I find the idea of a menu "Edit" - "Filter /" a bit awkward. Let's see.
Thanks
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Hmm, SET shows it, so it should be accessible to all programs ran from TC, shouldn't it?No you can't - %COMMANDER_PATH% is an internal variable.
Hmm, am I not doing it this way? I'll check.You could check check first if dir=path has been specified and then look for the reg key.
Thanks
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.