|
Post by scalion on Aug 4, 2023 10:20:14 GMT 1
Hi all...
The "security" of windows say this file is suspicious. just uncheck the box "always ask before opening this file" the first time you open it. If you dont do it windows show you a blank chm file. The other way of doing it is to right click the .chm file and open the Properties box; if you see the option at the bottom to Unblock content, tick the box, Apply and you should see the full contents. ( dragonjim)
To have a shortcut in the extra menu, copy this file in the Gfawin32.exe directory and use this code to compile a gll extension :
Sub Gfa_Init Global IdxMenuGeometryHelpFile IdxMenuGeometryHelpFile = Gfa_AddMenu("Help Geometry", Help_Geometry_func) Gfa_MenuDesc(IdxMenuGeometryHelpFile) = "Open the Help File dedicated to Geometry" End Sub Proc Help_Geometry_func(Index%) Global String GeometryHelpFile GeometryHelpFile = Gfa_BasicPath If Right(GeometryHelpFile) = "\" GeometryHelpFile = Left(GeometryHelpFile, Len(GeometryHelpFile) - 1) EndIf GeometryHelpFile = GeometryHelpFile & "\GB32-Geometry.chm" If Not Exist(GeometryHelpFile) Message "The file " & GeometryHelpFile & " is not present." Else System "hh " & GeometryHelpFile EndIf EndProc If you prefer use other directory change Gfa_BasicPath by your own variable with your personnal path.
Have good day all.
|
|
|
Post by (X) on Aug 4, 2023 13:59:18 GMT 1
Merci Nic pour ce fabuleux document!
For those like me that haven't used 'system' command much...
According to ChatGPT's assessment:
|
|
|
Post by (X) on Aug 4, 2023 14:07:51 GMT 1
Quel editeur chm utilises tu?
Which CHM editor are you using?
|
|
|
Post by scalion on Aug 5, 2023 12:29:51 GMT 1
Quel editeur chm utilises tu?
Which CHM editor are you using?
Hi (X), I create my html files with Nvu ( www.nvu.com/) a free and efficient html WYSIWYG editor. I use also a GFABasic program to generate HHK file and insert some Javascript (buttons "copy to clipboard" for <samp></samp>). When i create a html page with Nvu i insert code in Table with backcolor black with only one cell. I go to the source panel and put <samp></samp> code in <td></td> part. Buttons are automatically addeds with my GFA-Basic Program.
Here my program (is not designed to be used by public, then you need to modify it if you want use, it's just for information) : Make Index hhk.G32 (17.31 KB)
Have good day.
|
|
|
Post by (X) on Aug 5, 2023 14:10:43 GMT 1
|
|
|
Post by scalion on Aug 5, 2023 17:53:06 GMT 1
Yes i know it, It's great for making websites, but for making html with a view to integrating it into a help file, I don't recommend it. The problem with the CHM format is that it uses an obsolete version of HTML 4, javascript functions do not exist (like the news about clipbloard). Blue Griffon is more suitable for handling HTML 5. Nvu is simply closer to pure HTML, which is very practical.
|
|