I found out how to start a window help file (chm) file on a specific position:
Code: Select all
HelpFilePath = c:\Program Files\AutoHotkey\AutoHotkey.chm
HTML = /docs/commands/Random.htm
run, C:\Windows\hh.exe %HelpFilePath%::%HTML%
Here is the best code I could find so far.
https://autohotkey.com/board/topic/1298 ... ific-page/
(see post of PhiLho)
But I can not bring it to work. Well its 13 years ago..
Even the simple start of an chm file does not work.
Code: Select all
hh_Function = HHCtrl.ocx\HtmlHelpA
_helpFile = c:\Program Files\AutoHotkey\AutoHotkey.chm
HH_DISPLAY_TOPIC = 0x00
DllCall(hh_Function
, "UInt", 0 ; hwndCaller
, "Str", _helpFile
, "UInt", HH_DISPLAY_TOPIC
, "UInt", 0)
Code: Select all
hh_Function = HHCtrl.ocx\HtmlHelpA
_helpFile = c:\Program Files\AutoHotkey\AutoHotkey.chm
HH_DISPLAY_TOPIC = 0x00
HTML = /docs/commands/Random.htm
DllCall(hh_Function
, "UInt", 0 ; hwndCaller
, "Str", _helpFile "::" HTML
, "UInt", HH_DISPLAY_TOPIC
, "UInt", 0)