Hint to know help file location

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
nsp
Power Member
Power Member
Posts: 1950
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Hint to know help file location

Post by *nsp »

Could it be possible to have a COMMANDER_CHM env variable giving the current help file.
Could it be possible to have an option in wincmd.ini to force totalcmd.chm in commander_path to be used unconditionally. You could also use the same variable with number to force searching method as a sample:
  • 0/totalcmd.chm only
  • 1/switch Dark/Light
  • 2/use language Folder
  • 3 = 2 + 1
I have wcmd_xxx*.chm or wcmd_xxxDark.chm file in language folder not aligned with totalcmd.chm during rc tests. It is not easy for me to detect which help file is used specially if you change language and theme...
User avatar
white
Power Member
Power Member
Posts: 5988
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Hint to know help file location

Post by *white »

nsp wrote: 2025-06-20, 04:38 UTC ... It is not easy for me to detect which help file is used specially if you change language and theme...
You can find out which help file is opened by doing this:
white wrote: 2025-05-27, 10:08 UTC To find the URL of the html help page of any displayed page, click the icon in the title bar of the help window (upper left corner) and select "Jump to URL.."
Adding the program version to the window title can also be useful. Irfanview does this, for example.
User avatar
tuska
Power Member
Power Member
Posts: 4114
Joined: 2007-05-21, 12:17 UTC

Re: Hint to know help file location

Post by *tuska »

nsp wrote: 2025-06-20, 04:38 UTC It is not easy for me to detect which help file is used specially if you change language and theme...[/i]
F1 (Help) > Right-click in the help text window (on the right) > Properties > Address: URL
... might help.
User avatar
nsp
Power Member
Power Member
Posts: 1950
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Hint to know help file location

Post by *nsp »

@white @tuska thanks for the tip. Yes it helps but I will have to search for it in the forum or put it in my tc wiki to not forget about it.
i usualy search in this order:
  • my wiki notes,
  • TC chm Help,
  • Tc_history,
  • ultra tc editor datafile,
  • forum

The second request to have a parameter in wincmd.ini to drive help file finding strategy remain.
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Hint to know help file location

Post by *petermad »

2nsp
I have wcmd_xxx*.chm or wcmd_xxxDark.chm file in language folder not aligned with totalcmd.chm
Since the newest wcmd_fra.chm is from 2011 and is for TC 7.56a I guess that you are not using that.

So I recommend that you let TC install the English totalcmd.chm file in TC's program folder and ONLY keep a wcmd_deu.chm and not a wcmd_eng.chm file in TC's language folder. In that way English Help will be automatically updated and the German Help will only be used if you are using a wcmd*_deu.lng language file. You can then update the wcmd_deu.chm file once the next final TC version is released.

Of course you can also do the opposite, if you want the German Help to be the default -> then only keep a wcmd_eng.chm file in the language directory and no wcmd_deu.chm file.

The problem with un-synched .chm files only arise if totalcmd.chm and language\wcmd_xxx.chm is the same language, but in that case there is no need to have the wcmd_eng.chm file.


But apart from that, i think a parameter for wincmd.ini to control which help file TC uses is good - it can come in handy for temporarily changing the use of wcmd_xxx.chm and/or *dark.chm files without having to remove the files.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply