Jump to content

Recommended Posts

Posted

Sorry for this silly question but I cant seem to get it to open, I created a help file with a .chm extension. In my top menu I have:

$helpmenu = GUICtrlCreateMenu ("Help")

$helpitem = GUICtrlCreateMenuitem ("Quick NIC Help",$helpmenu)

GUICtrlSetOnEvent ($helpitem, "_HelpFile")

Then the event I have tried:

Func _HelpFile()

Run("QuickNICHelp.chm",@ScriptDir)

EndFunc

I tried the _RunDOS, FileOpen etc. but still no success.

Please tell me where I am going wrong.

Thanks,

Craig

Posted

Sorry for this silly question but I cant seem to get it to open, I created a help file with a .chm extension. In my top menu I have:

$helpmenu = GUICtrlCreateMenu ("Help")

$helpitem = GUICtrlCreateMenuitem ("Quick NIC Help",$helpmenu)

GUICtrlSetOnEvent ($helpitem, "_HelpFile")

Then the event I have tried:

Func _HelpFile()

Run("QuickNICHelp.chm",@ScriptDir)

EndFunc

I tried the _RunDOS, FileOpen etc. but still no success.

Please tell me where I am going wrong.

Thanks,

Craig

Check which program is opening a .chm (property of the file° it should display the attached file
Posted

Check which program is opening a .chm (property of the file° it should display the attached file

It is opening with Microsoft HTML Help, my properties look the same as your attachement except for the name.

Posted (edited)

Ok now I am even more confused, what do you mean hh.exe and how do I get it to hh.exe?

for example if you were running the codewizard in it's folder the following would bring up the topic for msgbox

Run(@WindowsDir & "\HH.exe " & @ScriptDir & "\CodeWizard.chm::msgbox.html")
Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Posted

Thanks gafrost,

It seems so easy when you know what you are doing ;)

Craig

I didn't till a few minutes ago, had to google for hh.exe and find the commands for it

I'll break it down for you

hh path/file.chm::/path/file.html or htm

therefore

Run(@WindowsDir & "\HH.exe " & @ScriptDir & "\CodeWizard.chm::msgbox.html")

the path to msgbox.html in this case is in the root of the help file some may have a path you have to put in.

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Posted

or you could just shellexecute it...

ShellExecute ("QuickNICHelp.chm")

........right?

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Posted

will this also open on a specific page ?

:"> nope

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Posted

:"> nope

here's an example of using the AutoIt3.chm

$sAutoItPath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt", "InstallDir")

Run(@WindowsDir & "\HH.exe " & $sAutoItPath & "\AutoIt3.chm::/html/functions/GUICtrlCreateUpdown.htm")

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Posted

Check which program is opening a .chm (property of the file° it should display the attached file

jpm,

Comment as-tu fait pour faire la miniature dans ton post?

Sinon je vois que tu es un des pionnier du forum. Bravo !

How did you realise the little picture in your Post?

Are you one of the AutoIt Forum parents? thx !

  • Developers
Posted

How did you realise the little picture in your Post?

Are you one of the AutoIt Forum parents? thx !

Attach a Picture to the post and then click the "Add into Post" button after attaching it.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

jpm,

Comment as-tu fait pour faire la miniature dans ton post?

Sinon je vois que tu es un des pionnier du forum. Bravo !

How did you realise the little picture in your Post?

Are you one of the AutoIt Forum parents? thx !

Jos a répondu a ta question.

Jos as he is reading french answer your question.

Thanks for using AutoIt

Posted

Jos a répondu a ta question.

Jos as he is reading french answer your question.

Thanks for using AutoIt

Thank you both for your answer

for jpm :

During the day, better open the shutters than ligth a candle ;)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...