[face=courier]I uploaded a new version, use the same links to download it.
The main menu-related change new TC version provide is you can make custom menu commands using i.c. 701 - 899. I made an example menu entry containing ten commands you can run first ten "Start" menu entries with.[/face]
Whatever it was, Jedi, I change it to "Branch" to make you a bit happy...
H> Why the heck did you put the numbers in HEX?!?
It works, it's undocumented, so I regarded it as my sacred duty to bring you to grip with it . Someone with an old and slow machine told me he belive this way menu works faster (?).
H> Now I will have to adapt TCME accordingly...
Well, I didn't expect such a terrible consequence of my actions, sorry.[/face]
I didn't expect such a terrible consequence of my actions, sorry.
Oh well, I guess I can live with it. Now I have two choices - either to change TCME, or blame you when all the people start sending in mails asking what's wrong with my program if it isn't even able to read your menu...
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.
I downloaded exp_eng.rar a day or so ago, I don't know if I have the latest version. Anyway, the readme doesn't mention how to modify the Surprize menu. Even though I have been using TC for many years, I've been more of a casual user than a power user. Can you explain to me how I could add User Menu #10, #11, etc.?
Thanks!
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
I guess you have. I modified it last time more than a day ago.
r> Anyway, the readme doesn't mention how to modify
r> the Surprize menu.
I'll think about adding this information from now :).
r> I've been more of a casual user than a power user.
Well, I don't believe in such a classification ;).
r> Can you explain to me how I could add User Menu
r> #10, #11, etc.?
Of course I can.
It's quite simple. From Commander version 5.51 all user menu entries have internal commands enumerated from 701 to 899. So i.c. 701 stands for [user] entry #1, 710 - for #10 etc. You just have to make sure there are such an entry in your user menu.
For example you have user menu entry you want to be available as separate menu command and for example run it with KBD shortcut "Ctrl"+"1" (not available from user menu setup). Let it be the entry #69 with such a command assigned:
menu69=I like this picture
cmd69=drive:\path\to\i_view32.exe
param69=drive:\path\to\69.jpg /fs
You can make it two ways.
1. You can set unique name for this command. Open TOTALCMD.INC in you editor and add somewhere (but I do suggest you to keep them all together) such a string:
cm_ILikeThisPicture=769;Open 69.jpg with IView full screen
Save it. Now you can use cm_ILikeThisPicture in your menu or configuration
file:
My_menu.mnu
...
POPUP "My Commands"
MENUITEM "&Open 69.jpg with IView full screen\tCtrl+1", cm_ILikeThisPicture
END_POPUP
Actually Commander has predefined name scheme for for such a commands, so by default i.c. #769 name looks like this - cm_usermenu69. But it's not funny, actually and you have to edit TOTALCMD.INC if you want to use ANY command unique NAME anyway.
2. If you don't want to use any command name but only number you can skip TOTALCMD.INC editing. Just add appropriate command number to your menu or configuration file
My_menu.mnu
...
POPUP "My Commands"
MENUITEM "&Open 69.jpg with IView full screen\tCtrl+1", 769
END_POPUP
WINCMD.INI
...
[Shortcuts]
C+1=769
The difference is Commander do not use TOTALCMD.INC working with such a menu/shortcut if you do it by the second way.[/face]
Last edited by Black Dog on 2003-11-25, 01:33 UTC, edited 1 time in total.
2Black Dog
Wow ! That's great ! I never really unterstood how to use User Menu Entries - many thanks for your explanations !
and I totaly ignored I could edit totalcmd.inc...