Jump to content

Recommended Posts

Posted (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

post-27705-1237805693_thumb.jpg

Edited by jbc1
  • Moderators
Posted

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
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...