Using kchmviewer
Posted: Sun Jan 28, 2024 12:45 am
I solved the problems of running help using kchmviewer. Previously, kchmviewer opened a new window every time. Now kchmviewer is being forcibly closed.
Commandline: sh
Arguments: /home/user/Apps/purebasic/tools/kill-kchmviewer.sh %WORD /home/user/Apps/purebasic/PureBasic.chm
The contents of the file kill-kchmviewer.sh
Previously, I used the commands
Commandline: sh
Arguments: /home/user/Apps/purebasic/tools/kill-kchmviewer.sh %WORD /home/user/Apps/purebasic/PureBasic.chm
The contents of the file kill-kchmviewer.sh
Code: Select all
#!/bin/sh
# sh
# /home/user/Apps/purebasic/tools/kill-kchmviewer.sh %WORD /home/user/Apps/purebasic/PureBasic.chm
# wmctrl -F -c 'kchmviewer - Title'
# killall kchmviewer
kchmviewer -token alf -index $1 $2
Code: Select all
Commandline: kchmviewer
Arguments: -token alf -index %WORD /home/user/Apps/PureBasic/PureBasic.chm
Commandline: kchmviewer
Arguments:-token alf -search %WORD /home/user/Apps/PureBasic/PureBasic.chm
Commandline: xchm
Arguments: /home/user/Apps/PureBasic/PureBasic.chm