jbc1 Posted March 23, 2009 Posted March 23, 2009 (edited) Hi, I want to be able to get the text inside a compiled help file during my programs execution and add it to a data structure. For example a window like the one in the attached JPEG. Is this possible in AutoIT? Thanks, jbc1 Edited March 23, 2009 by jbc1
Moderators big_daddy Posted March 23, 2009 Moderators Posted March 23, 2009 You can use the _IE* functions to interact with a .chm file. Here's an example of attaching to the AutoIt Help File. #include <IE.au3> ; Register the IE.au3 Error Handler _IEErrorHandlerRegister() ; Attach to the helpfile browser window $oIE = _IEAttach("AutoIt Help", "Embedded") If Not IsObj($oIE) Then MsgBox(48, "Error", "Could not attach to the help file.") Exit EndIf
jbc1 Posted March 23, 2009 Author Posted March 23, 2009 You can use the _IE* functions to interact with a .chm file. Here's an example of attaching to the AutoIt Help File. #include <IE.au3> ; Register the IE.au3 Error Handler _IEErrorHandlerRegister() ; Attach to the helpfile browser window $oIE = _IEAttach("AutoIt Help", "Embedded") If Not IsObj($oIE) Then MsgBox(48, "Error", "Could not attach to the help file.") Exit EndIf That's excellant. Thank you! Regards, jbc1
Skizmata Posted March 23, 2009 Posted March 23, 2009 The .chm format is just compressed html you can decompress it with 7zip http://www.autoitscript.com/forum/index.ph...094&hl=7zip and then treat it like html to parse.I would love to see what you end up with! AutoIt changed my life.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now