I'd like to be able to write Inquisit scripts in Vim. In the standard Inquisit application for writing scripts, I can press F1 and it brings up help on the topic related to the word under the cursor. I'd like to set up the same functionality through Vim.
The help file for Inquisit is stored in a Windows .CHM file.
I figured there must be a set of command-line options for doing a keyword search in a chm file, but I haven't been able to find a complete list of the command-line options, presumably for HH.exe.
- I did find HTML Help command-line article from help-info.de with a few pointers, but it does not have a full listing of command-line options.
- I also found this discussion on AutoHotKey discussion board. It mentions keyhh.
- I also just found a vimscript designed to do exactly what I want
Questions:
- Is there a complete list of command-line options for HH.exe?
- Is there a better way of going about what I am trying to do?
If you can script in AutoHotkey ,I just found a solution. The idea will be to use VIM to pass reqd. command line-parameters to a compiled Ahk script which will in turn open the help file a/c the data.
In this solution, it will be also assumed that all the keywords that you are to search lie in the Index list (as they do).
To open the Helpfile, then Index tab & search, the following AHK Code works --
where
%1%
is the only command line param passed to the compiled Ahk script.So, VIM can passe Commandline params as
start compiledahk.exe "<Keyword>"
.