The screenshot that AntonyD posted that came from the thread BlackHelp - A dark version of AutoHotKey.chm (the help file) on the archived AutoHotkey forum. (click the spoiler)
BTW, isn't it better to remove the +/- squares in your darkhelp2 ?
Moderators: white, Hacker, petermad, Stefan2
The screenshot that AntonyD posted that came from the thread BlackHelp - A dark version of AutoHotKey.chm (the help file) on the archived AutoHotkey forum. (click the spoiler)
Maybe - but I don't know how to do that - they don't seem to be generated with html or css, so there Isn't any non binary file I can just edit , as I do to make the changes I have made.BTW, isn't it better to remove the +/- squares in your darkhelp2 ?
Name: hsc6C4.hhc
Code: Select all
<param name="Window Styles" value="0x800025">
Have ave made a version ( based on https://www.totalcommander.ch/help/totalcmd_chm.zip )where I have removed the +/- symbols and replaced the book icons with folder icons. It is more intuitive to double-click on a folder to open it.white wrote:BTW, isn't it better to remove the +/- squares in your darkhelp2 ?
Well normally, if you don't click the +/- buttons, you must use double-click to open a book. It's not new behavior. I don't like the folder icons. I suggest to replace the icons anyway for dark help, especially the icon for a help page.petermad wrote: ↑2023-07-25, 09:49 UTC Have ave made a version ( based on https://www.totalcommander.ch/help/totalcmd_chm.zip )where I have removed the +/- symbols and replaced the book icons with folder icons. It is more intuitive to double-click on a folder to open it.
I use the same colors: DCDCDC / 202020 for foreground / background as TC uses by default for dark mode (with a fresh ini).AnthonyD wrote:But what about the dark theme - isn't it literally too black?
Maybe a little lighter can set the tone?
I know it is possible, but since I don't use a compiler, I need to know the code for these things.white wrote:Do you know you can enable single-click to open a book? Do you know you can also enable mouse-tracking so underlining appears when you hover over a book or help page link?
Code: Select all
<style>
/* Change the font and background color of the TOC items */
.treeItem {
color: #0000ff; /* Blue text color */
background-color: #ffffcc; /* Light yellow background color */
}
/* Change the font and background color of the selected TOC item */
.treeItemSelected {
color: #ffffff; /* White text color */
background-color: #007bff; /* Blue background color */
}
</style>
Code: Select all
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="<span style='color: #0000ff; background-color: #ffffcc;'>Topic Name</span>">
<param name="Local" value="TopicFileName.html">
</OBJECT>
I have now tried that - no effect.AntonyD wrote: ↑2023-07-25, 13:25 UTC 2petermad
didn't you try to use something like that:inside the file hsc6C4.hhc? As we know - this is the pure HTML-based file with all appropriate tags. And exactly this file is presented the content at the tab "Content" on the left panel of the opened chm file.Code: Select all
<style> /* Change the font and background color of the TOC items */ .treeItem { color: #0000ff; /* Blue text color */ background-color: #ffffcc; /* Light yellow background color */ } /* Change the font and background color of the selected TOC item */ .treeItemSelected { color: #ffffff; /* White text color */ background-color: #007bff; /* Blue background color */ } </style>
That just shows <span style='color: #0000ff; background-color: #ffffcc;'>Topic Name</span> insted of the topic Name.AntonyD wrote: ↑2023-07-25, 13:25 UTC Also we may try to change its content this way:Code: Select all
<LI> <OBJECT type="text/sitemap"> <param name="Name" value="<span style='color: #0000ff; background-color: #ffffcc;'>Topic Name</span>"> <param name="Local" value="TopicFileName.html"> </OBJECT>
Code: Select all
<LI STYLE="color: #DCDCDC; background-color: #202020">
<OBJECT TYPE="text/sitemap" STYLE="color: #DCDCDC; background-color: #202020">
<PARAM NAME="Name" VALUE="What is Total Commander?" STYLE="color: #DCDCDC; background-color: #202020">
<PARAM NAME="Local" VALUE="whatistotalcmd.htm" STYLE="color: #DCDCDC; background-color: #202020">
</OBJECT>
</LI>
The codes are:petermad wrote: ↑2023-07-25, 13:00 UTCI know it is possible, but since I don't use a compiler, I need to know the code for these things.white wrote:Do you know you can enable single-click to open a book? Do you know you can also enable mouse-tracking so underlining appears when you hover over a book or help page link?
Yes, that is what I meant.
Unbelievable - but https://i.imgur.com/o9hO2u4.png - is a real CHM file - not a current, "modern-styled" help, but exactly old-fashion CHM file - which does have the "dark" theme... So somehow it was possible to do that even in those ancient times...There was an MS report http://support.microsoft.com/?kbid=267973 that said that it is not possible to change the background color ot thr TOC items
The page is archived here on the Wayback Machine.petermad wrote: ↑2023-07-25, 15:08 UTC There was an MS report http://support.microsoft.com/?kbid=267973 that said that it is not possible to chnage the background color ot thr TOC items - but MS has removed all these bulletins in 2020.
Thanks - https://tcmd.madsenworld.dk/totalcmdDark5.2.chm with single-click (I don't like the mouse-tracking)
That version is with mouse-tracking.petermad wrote: ↑2023-07-26, 00:20 UTC Thanks - https://tcmd.madsenworld.dk/totalcmdDark5.2.chm with single-click (I don't like the mouse-tracking)
Sorry - try: https://tcmd.madsenworld.dk/totalcmdDark6.2.chmThat version is with mouse-tracking.