?? readme.xmlrpc
字號:
XmlRpc interface documentationXmlRpc support enables 3rd party applications to issue load, change page, and close instructions to xCHM.In order to make use of the XmlRpc support in xCHM you must configure with the--enable-xmlrpc flag. You must also have the XmlRpc++ (0.7 or higher) library installed on your system. You can aquire this library at: http://xmlrpcpp.sourceforge.net/Callsparam 10 - Shuts down xCHM1 - Loads a chmfile specified by param 2, and an optional contextID as param 32 - Loads a specified contextID within the file as param 2Results0 - The request was not completed, this indicates a failure in the command. For example if the call (1,file,id) is made with a valid file, but invalid id the correct file will be loaded but the id will not be. Thus it will report that the request was not completed.1 - The request was completed successfully.Notes:File paths are relative to the xCHM executable, thus full path names are the recommended method for opening files via XmlRpc.Example using Python:Launch xCHM with the XmlRpc server activatedxchm --with-xmlrpc=portLaunch python>>> import xmlrpclib# establish connection to xCHM XmlRpc server>>> s = xmlrpclib.Server('http://localhost:port')# tell xCHM to open /path/to/sch/file.chm>>> s.xCHM(1,'/path/to/chm/file.chm')1 # success#tell xCHM to load the contextID from the current file.>>> s.xCHM(2,1234)0 # failure>>> s.xCHM(2,1235)1 # success# close xCHM>>> s.xCHM(0)1
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -