"Start Menu" limit...

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
rei
Junior Member
Junior Member
Posts: 23
Joined: 2005-01-13, 16:51 UTC

"Start Menu" limit...

Post by *rei »

I Cannot add more items in "Start Menu".

There is a limit ? or a Bug ?

I was organizing it well. :cry:
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2rei
a limit
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2>rei
Total Commander start menu is limited to only 199 item, including separators and submenus entry
but if you realy want more than 199 in your TC start menu you can use my Ultra TC Start Menu Editor
there is a hidden feature, this is the first time i announce about it :wink: to activate it:

1- Run any text editor program (e.g. Notepad) and open the program INI file "ultra tc editors.ini"
2- Create the key StartMenuMaxItems under [StartMenuEditor] section.
3- Set the key StartMenuMaxItems value to desired number (say 500)
4- restart Start Menu Editor

now you can have more then 199 items in your TC start menu, but in this case don't use TC built-in start menu editor because it will read only the first 199 items and you will lose the rest
i test this and find that TC is running well
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I don't see how this could work, because the identifiers which would be used by items >199 are already used for other internal TC commands!
Author of Total Commander
https://www.ghisler.com
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

It seems that calling a command via startmenu does not use the identifiers at all. Here at least it works fine.

Only restriction: you can't call those entries above 199 via cm_usermenuxx.

For the directory menu the entries above 199 are simply ignored. :(

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

I can imagine 2 ways for executing a command in start menu
the first: when you point to the command directly throught the mouse, TC take the menu index of this command and read its properties from wincmd.ini [user] section and execute it.

the second: if the command assigned to Main menu item or to a button bar, TC first looks for this command in totalcmd.inc file and if its code range between 701 to 899, TC looks for it in start menu entries and execute it if found the entry, but if the command code out of this range, TC looks for it in the other internl command identifiers. so as Sheepdog mention you can't call those entries above 199 via cm_usermenuxx
Post Reply