Hi,
I was wondering if anyone has a clever trick that allows using the .chm version of the help file instead of the standard Linux help file from the form designer?
I find the CHM help format slightly more convenient to work with, even if I have to extract it from a Windows install first to obtain it. With CHM and for example the kchmviewer application, it's possible to search for multiple phrases in help topics (PureBasic help searches for exact phrases), possible to search within each help article (CTRL + F) and so on.
I tried to trick the form designer with a symlink masquerading as the help file, but that did not work.
I know that I can open the CHM file separately and manually, but then I don't get the benefit of pressing F1 to see help for the current keyword.
/Nudgy
Using .CHM help format with Linux version of form designer?
Re: Using .CHM help format with Linux version of form designer?
Thanks! I used the solution that you provided here: viewtopic.php?t=83435
In case anyone else finds this, what I did to implement this was:
1. Put the bash (.sh) script in a folder next to the PB CHM help file that I got from the Windows PB Installer
2. Change the default PureBasic help shortcut to something else, to free up that short cut (for example SHIFT + F1) -> File -> Preferences -> General -> Shortcuts
3. Add the bash script as a new tool in PureBasic -> Tools -> Configure Tools... -> New
4. Used the following settings in "Edit Tool Settings":
- Command line: The full path to the basch script
- Arguments: %WORD NameOfHelpFileHere.chm
- Working directory: Help (CHM)
- Shortcut: F1
Now I can use the CHM help file in Linux and pressing F1 on keywords gets me immediately to the right part of the help file.
In case anyone else finds this, what I did to implement this was:
1. Put the bash (.sh) script in a folder next to the PB CHM help file that I got from the Windows PB Installer
2. Change the default PureBasic help shortcut to something else, to free up that short cut (for example SHIFT + F1) -> File -> Preferences -> General -> Shortcuts
3. Add the bash script as a new tool in PureBasic -> Tools -> Configure Tools... -> New
4. Used the following settings in "Edit Tool Settings":
- Command line: The full path to the basch script
- Arguments: %WORD NameOfHelpFileHere.chm
- Working directory: Help (CHM)
- Shortcut: F1
Now I can use the CHM help file in Linux and pressing F1 on keywords gets me immediately to the right part of the help file.

