Menu command help

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
jslegers
Member
Member
Posts: 129
Joined: 2003-07-17, 08:13 UTC

Menu command help

Post by *jslegers »

Hello,

I hope you guys can help me. I have made the following menu item :

Code: Select all

MENUITEM "Load Custom Tabs...", em_ext_loadtabs_save
This is done in the extended menus for TC.

The em_ext_loadtabs_save command in stored in the ini file belonging to the menu here is the section :

Code: Select all

[em_ext_loadtabs]
cmd=OPENTABS %COMMANDER_PATH%\Custom.tab

[em_ext_loadtabs_save]
cmd=%COMMANDER_PATH%\Tcmc.exe
path=%COMMANDER_PATH%
param=100 "cm_FocusRight" "em_ext_loadtabs" "cm_ConfigSaveSettings"
Problem is it doesn't seem to work. I have checked if TC sees the right ini files and that is ok.

What am i doing wrong?

I'm using Totalcmd V8.01 x64
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Do you have files TCMC.exe and Custom.tab in TC directory?
User avatar
jslegers
Member
Member
Posts: 129
Joined: 2003-07-17, 08:13 UTC

Post by *jslegers »

MVV wrote:Do you have files TCMC.exe and Custom.tab in TC directory?
Yes both files are in de TC directory.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Ah, I remembered that TCMC requires command type in every parameter, so you should have:

Code: Select all

param=100 CMcm_FocusRight EMem_ext_loadtabs CMcm_ConfigSaveSettings
User avatar
jslegers
Member
Member
Posts: 129
Joined: 2003-07-17, 08:13 UTC

Post by *jslegers »

MVV wrote:Ah, I remembered that TCMC requires command type in every parameter, so you should have:

Code: Select all

param=100 CMcm_FocusRight EMem_ext_loadtabs CMcm_ConfigSaveSettings
Oh ok I will try it tonight. Thanks.

Works like a charm thanks.
Post Reply