[CMD] chmls - a CHM utility (list / extract ...)

Discuss other useful utilities, general computing tips & tricks, Internet resources, etc.
tmplinshi
Posts: 1051
Joined: 01 Oct 2013, 14:57

[CMD] chmls - a CHM utility (list / extract ...)

27 Jan 2014, 20:41

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


Examples:

D:\Program Files\AutoHotkey>chmls.exe list AutoHotkey.chm
Spoiler


D:\Program Files\AutoHotkey>chmls extract AutoHotkey.chm /docs/scripts/VolumeOSD.ahk
Spoiler


:arrow: Download: https://github.com/alrieckert/freepasca ... /chmls.exe
lexikos
Posts: 5203
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: [CMD] chmls - a CHM utility (list / extract ...)

01 Feb 2014, 05:31

Or you could just use hh.exe (the help viewer) and AutoHotkey. Usage is hh.exe -decompile folder chm
tmplinshi
Posts: 1051
Joined: 01 Oct 2013, 14:57

Re: [CMD] chmls - a CHM utility (list / extract ...)

01 Feb 2014, 06:10

Thanks! Yes, hh.exe is another tool to extract chm file. In fact, the list command in chmls.exe is what I found maybe useful, and the reason to post this utility.
lexikos
Posts: 5203
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: [CMD] chmls - a CHM utility (list / extract ...)

02 Feb 2014, 04:35

I don't get why you'd use a third party tool when you can just decompile it using a program included with Windows and list the files using a simple file loop.

Well I suppose I just don't see much use in listing the topics without extracting them. BTW, you can extract the index and TOC using a WebBrowser control in AutoHotkey.
User avatar
joedf
Posts: 5328
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [CMD] chmls - a CHM utility (list / extract ...)

03 Feb 2014, 06:23

I remember using this a while back... Microsoft's HTML Help Workshop
http://www.microsoft.com/en-us/download ... x?id=21138
User avatar
lmstearn
Posts: 124
Joined: 11 Aug 2016, 02:32
GitHub: lmstearn

Re: [CMD] chmls - a CHM utility (list / extract ...)

14 Apr 2017, 09:45

The unblockchm looks interesting. Probably similar to something posted at this thread:

Code: [Select all] [Download] GeSHi © Codebox Plus

String ZIStream(HelpFileName + ":Zone.Identifier") ;

if (FileExists(ZIStream))
{ DeleteFile(ZIStream) ; }

The beauty of chm files inside compiled AHK executables precludes the necessity of it at present, even when a chm file is extracted from an AHK .exe via 7-zip or similar.
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH
codybear
Posts: 32
Joined: 25 Feb 2014, 04:28

Re: [CMD] chmls - a CHM utility (list / extract ...)

17 Apr 2017, 20:06

lexikos wrote:I don't get why you'd use a third party tool when you can just [use] a program included with Windows

heh. Do you use IE only? :P
lexikos
Posts: 5203
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: [CMD] chmls - a CHM utility (list / extract ...)

17 Apr 2017, 20:29

You have clearly taken my words out of context.

The differences between web browsers are far greater than the differences between two methods of extracting and listing CHM contents.
codybear
Posts: 32
Joined: 25 Feb 2014, 04:28

Re: [CMD] chmls - a CHM utility (list / extract ...)

17 Apr 2017, 22:47

Lol, I was joking Lexikos. Just ignore me and my ramblings.
lexikos
Posts: 5203
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: [CMD] chmls - a CHM utility (list / extract ...)

18 Apr 2017, 01:57

Of course, and this is my way of showing that your joke was not very good.
User avatar
joedf
Posts: 5328
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [CMD] chmls - a CHM utility (list / extract ...)

18 Apr 2017, 06:02

Lexikos is Edge-y when it comes to bad jokes... :hehe:
codybear
Posts: 32
Joined: 25 Feb 2014, 04:28

Re: [CMD] chmls - a CHM utility (list / extract ...)

18 Apr 2017, 14:03

lexikos wrote:Of course, and this is my way of showing that your joke was not very good.


Seeing as how I won't be able to beat Joedf's comment, I'll just see myself out.

Return to “Other Utilities & Resources”

Who is online

Users browsing this forum: No registered users and 2 guests