Sign in to follow this  
Followers 0
themax90

Displaying a CHM file

10 posts in this topic

How do a display a chm file from inside autoit?

If $msg = $showhelp Then Run($File)

Doesn't work.

Thank you for the help.

AutoIt Smith

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

$File = "C:\Program Files\AutoIt3\AutoIt.chm"
Run(@ComSpec & " /c Start " & FileGetShortName($File), "", @SW_HIDE)oÝ÷ Ù8b²Ç+pYh¥éÚ'âè§Ûyö®Úk¢
Ú@ÈMDKßÛ0¢¹-¢®¶­sbb33c´fÆRÒgV÷C¶GG¢ò÷wwræWFöG67&Bæ6öÒgV÷C°¥'6öÕ7V2fײgV÷C²ö27F'BgV÷C²fײfÆTvWE6÷'DæÖRb33c´fÆRÂgV÷C²gV÷C²Â5uôDR

I live by this simple run command. Allows me to open any file without worry.

Edited by Knight

Share this post


Link to post
Share on other sites

Thank you.

Share this post


Link to post
Share on other sites

Thank you.

Can I add a question that fits this topic - is there a way to open the file to a certain link?

If you need more information - I will provide.


All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

$File = "mk:@MSITStore:C:\Program%20Files\AutoIt3\beta\AutoIt3.chm::/html/license.htm"
Run(@ComSpec & " /c Start " & FileGetShortName($File), "", @SW_HIDE)

I got the URL from right clicking the CHM page and pulling the address. However it doesn't open it in "CHM" format.. So I am not sure exactly how to do it.

Share this post


Link to post
Share on other sites

$File = "mk:@MSITStore:C:\Program%20Files\AutoIt3\beta\AutoIt3.chm::/html/license.htm"
Run(@ComSpec & " /c Start " & FileGetShortName($File), "", @SW_HIDE)

I got the URL from right clicking the CHM page and pulling the address. However it doesn't open it in "CHM" format.. So I am not sure exactly how to do it.

That at least starts the process down the path I might take, thanks.

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

With a little research.. This seems to work to go to a specific topic.

$File = "hh.exe C:\Program Files\AutoIt3\beta\AutoIt3.chm ::/html/license.htm"
Run(@ComSpec & " /c Start " & FileGetShortName($File), "", @SW_HIDE)
Edited by Knight

Share this post


Link to post
Share on other sites

With a little research.. This seems to work to go to a specific topic.

$File = "hh.exe C:\Program Files\AutoIt3\beta\AutoIt3.chm ::/html/license.htm"
Run(@ComSpec & " /c Start " & FileGetShortName($File), "", @SW_HIDE)
That works great - where did you find that and how are you opening an htm file in the chm file (or if memory serves me right - the chm file is really a bunch of htm files banded together in a help file)

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

That works great - where did you find that and how are you opening an htm file in the chm file (or if memory serves me right - the chm file is really a bunch of htm files banded together in a help file)

yes, memory does serve you right. :whistle: Edited by theguy0000

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

Share this post


Link to post
Share on other sites

yes, memory does serve you right. :whistle:

Then I guess my next question would be - is there a naming convention for the files and if not is there a listing of all the htm files with out having to use the website and hover over each link to get the ones I want?

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0