Go to the folder with your TC ini files (cd %COMMANDER_INI_PATH%)
Make these entries in the usercmd.ini file:
Code: Select all
[em_Help]
cmd=cm_HelpIndex
[em_Restart]
cmd=cm_Exit 9
Code: Select all
[Configuration]
FirstTimeIconLib=0
[Buttonbar]
Buttonbar=%COMMANDER_INI_PATH%\TEST1.BAR
Code: Select all
[Configuration]
FirstTimeIconLib=0
[Buttonbar]
Buttonbar=%COMMANDER_INI_PATH%\TEST2.BAR
Code: Select all
[Buttonbar]
Buttoncount=1
button1=%COMMANDER_EXE%
cmd1=em_Restart
iconic1=0
menu1=Restart
Code: Select all
[Buttonbar]
Buttoncount=1
button1=%COMMANDER_EXE%
cmd1=em_Restart
iconic1=0
menu1=Restart
Start another instance of TC with the parameter /%COMMANDER_INI_PATH%\test2.ini
Copy the code here below to Clipboard:
Code: Select all
TOTALCMD#BAR#DATA
em_Help
wcmicons.dll,55
Open Help
-1
- In one of the two new TC instances right-click on the button bar and choose "Paste".
- Click on the new button with the question mark to check that the Help is opened - close the Help again.
- Now click on the first button in the button bar to restart TC - IMPORTANT!
- Right-click on the new button (the one with the question mark) and choose "Copy" - important - you can not skip this and use the current clipboard content.
- Switch to the other new TC instance.
- Right-click on the button bar and choose "Paste".
- Click on the new button with the question mark.
- An Error dialog pops up with the message: "Function not implemented! 10001".
- Now either right-click the button, choose "Change", and click OK - OR: click the restart button.
- Test the button again - now the help opens.
It does not happen if there is a Parameter in the button code like:
Code: Select all
TOTALCMD#BAR#DATA
em_Help
%N
wcmicons.dll,55
Open Help
-1