现在的位置: 首页 > 综合 > 正文

hh.exe参数(全)

2013年09月05日 ⁄ 综合 ⁄ 共 2474字 ⁄ 字号 评论关闭
题注:hh.exe是一个命令下打开chm文件的小程序。但是某天在csdn发现了某网友帖出的--hh.exe隐藏参数云云……嘿嘿……就像当年发现copy 1+2>3一样令人着迷,其实呢,hh.exe很普通。

在cmd下输入: hh /? 发现屏幕没有任何反应,这是怎么回事?然后又输入:hh ntcmds.chm--在命令行帮助文档中也没发现hh.exe的踪影。那么它什么工具呢,为什么有它的存在,却没有它的说明?

于是去microsoft查找了一番,原来它是HTML Help Workshop命令行工具。那么什么是HTML Help Workshop,嘿嘿,告诉你吧--系统内所有编译的帮助文档(chm)都是出自它手。

看看它的参数:

hh.exe -800 将Help viewer设为800*600
-title 将chm以窗口800*600显示
-register 注册hh.exe,将其设为默认的chm文档的shell
-decompile 反编译chm文件,就是将chm拆散开来,对于破坏狂和翻译人员比较有用,懒人就免了
-mapid 如果你记住chm中htm、html的id,那么用它定位htm、html文件
-safe 迫使hh.exe以安全模式打开chm。安全模式?就是所有的快捷键都失效

附:help帮助文件的快捷键

Keyboard Shortcuts in Help


ALT+C

To switch to the Contents tab

ALT+F4

To close the Help window

ALT+I

To switch to the Favorites tab

ALT+N

To switch to the Index tab

ALT+O

To display the Options menu

ALT+O, and then press B

To display the previously viewed topic

ALT+O, and then press F

To display the next topic in a previously displayed sequence of topics

ALT+O, and then press H

To return to the specified home page

ALT+O, and then press I

To open the Internet Options dialog box for Microsoft Internet Explorer, where you can change accessibility settings

ALT+O, and then press O

To turn search highlighting on or off

ALT+O, and then press P

To print all topics in a book or a selected topic only

ALT+O, and then press R

To refresh the topic (useful if you have linked to a Web page)

ALT+O, and then press S

To stop the Help window from opening a Help topic (useful if you want to stop a Web page from downloading)

ALT+O, and then press T

To hide or show the pane with the Contents, Index, Search, and Favorites tabs

ALT+S

To switch to the Search tab

CTRL+A

To select the entire Help topic

CTRL+C

To copy the selected items to the Clipboard

CTRL+P

To print the current Help topic

CTRL + TAB

To move among the Contents, Index, Search, and Favorites tabs

DOWN ARROW

To select the next book or Help topic

END

To select the last group of topics

ENTER

To perform the action for the selected hyperlink, and to open a selected book or Help topic

ENTER or RIGHT ARROW

To expand a group of topics

ENTER or LEFT ARROW

To collapse a group of topics

F6

To switch between the Table of Contents and the Help topic panes

HOME

To select the first group of topics

HOME or END

To go to the beginning or end of a Help topic

PAGE UP or PAGE DOWN

To scroll toward the beginning or end of a Help topic in large increments

SHIFT+F10

To display a shortcut menu

TAB or SHIFT+TAB

To move forward or backward from one hyperlink to the next within a topic

UP ARROW

To select the previous book or Help topic

UP ARROW or DOWN ARROW

To scroll toward the beginning or end of a Help topic, and to select the previous or next group of topics

虽然是快捷键,其实并不怎么实用,对于一个chm文档来说,最好的莫过于书签功能(bookmark),特别是文档内容比较多的chm。

microsft不遗余力地推出chm,但是却受到来自adobe的pdf的威胁。相对于pdf来说,chm也不是无一用处,它小巧,启动快,门槛低(不用专业软件编辑--商业软件,反编译后用notepad.exe就行),不易编辑(除非反编译-_-!)。但是弊端也是显而易见,界面不友好,打印功能不强,安全性能不高(易被反编译)等。

抱歉!评论已关闭.