Wrong help file

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Wrong help file

Post by *Vochomurka »

1) Press F1 or execute the cm_HelpIndex (#610) command (the same is valid for 620 and 630);
2) Go to "Contents \ Introduction \ What's new in this verion?";
3) Second line must be "New functions and fixes in Total Commander 7.50:". Is the version number the same that the version of TC you have executed this command from?

For me, it is not: real version is 8.52a while help says it is 7.50 (see above). Command cm_About (#690) works fine. In my TC directory I have only the totalcmd.chm file, no other *.hlp or *.chm! When loaded manually, totalcmd.chm corresponds to the actual version (8.52a).

1) Can anybody confirm this?
2) What is the help file with older version?
3) What exactly happens at the execution of 610, 620 and 630 commands?
Single user license #329241
PowerPro scripts for Total Commander
User avatar
Dalai
Power Member
Power Member
Posts: 9388
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

You should check which file is opened by right-clicking in the help's content window and choosing Properties. The properties window will show the path to the CHM file, though it's a little bit "cryptic".

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Thanks, Dalai. Yes, it is %COMMANDER_PATH%\LANGUAGE\wcmd_eng.chm from extended menu pack. I copied "right" help file to the "Language" subdirectory and renamed it (so the "wrong" file is deleted). Now the F1 gives correct result. So, my third question remains:
3) What exactly happens at the execution of 610, 620 and 630 commands?
Single user license #329241
PowerPro scripts for Total Commander
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3862
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

This kind is called "Context sensitive help".
It shows the dedicated part of help for a certain context instead of just first page of help.

610=cm_HelpIndex directly shows the index of the help file
620=cm_Keyboard directly shows help about keyboard shortcuts
630=cm_Register directly shows info about registration of TC

All this commands are used for main menu entries of "Help"
#5767 Personal license
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Thanks, but my question is still not answered. What help file are you talking about? As I have understood (I can be mistaken):
1) First TC checks the langauge file (LanguageIni - or, perhaps Mainmenu keys in wincmd.ini). If it is present, TC loads help file (which one, if there are many?);
2) If not, the default totalcmd.chm is loaded.

Am I right?
If I am, is this rational? In any case, the "main" help file is more recent than any other one, and is updated more often. Don't you think that it should be configurable: at executing 6?0 commands load the "main" file by default, or another one whose path is specified?
Single user license #329241
PowerPro scripts for Total Commander
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3862
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

1) First TC checks the langauge file (LanguageIni - or, perhaps Mainmenu keys in wincmd.ini). If it is present, TC loads help file (which one, if there are many?);
The chosen help file is related to the current language.
WCMD_DEU.LNG ==> WCMD_DEU.chm
WCMD_RUS.LNG ==> WCMD_RUS.chm
2) If not, the default totalcmd.chm is loaded.
#5767 Personal license
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

I've posted a suggestion. I still think that the status quo is not reasonable
Single user license #329241
PowerPro scripts for Total Commander
Post Reply