Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

BlackHelp - A dark version of AutoHotKey.chm (the help file)


  • Please log in to reply
17 replies to this topic
budRich
  • Members
  • 146 posts
  • Last active: Aug 03 2015 08:33 PM
  • Joined: 09 Aug 2011

In this post i'll guide you through the steps you have to take if you want to edit the css file in AutoHotkey.chm.

This is what my chm looks like:

Spoiler

 

And here's the css file i used:

Spoiler

 

This is how you do it:

1. Make a backup of AutoHotkey.chm, you never know..

2. Download KeyTools

3. Run KeyTools, Toolsmenu>Decompile

4. Decompile AutoHotkey.chm

5. Locate, edit or replace: default.css

6. Run HTML Help Workshop (I think it comes with windows, otherwise google)

7. File>Open .hhp File

8. File>Compile

 

Done!



TheDewd
  • Members
  • 842 posts
  • Last active: Jun 10 2016 06:55 PM
  • Joined: 28 Mar 2010
I like it, but there's already a v1.1.02.00 help file released. :roll:

lulz

  • Guests
  • Last active:
  • Joined: --
I like the Black, don't like the Yellow...& for God's sake it spelled AutoHotkey!!! (lowercase k)

budRich
  • Members
  • 146 posts
  • Last active: Aug 03 2015 08:33 PM
  • Joined: 09 Aug 2011
Guest: Maybe i update this thread some day with a tutorial on how to change the css in a chm, it's a bit tricky. But once you know its easy to change the colors. And thanks. :oops:

Weston: Damn, I had totally missed that, i'll update this to the latest version soon. Thanks for pointing it out.

  • Guests
  • Last active:
  • Joined: --

Guest: Maybe i update this thread some day with a tutorial on how to change the css in a chm...

...I've been meaning to test if chm files can have cookies...then you can have a link/config page in the chm to set the colors, save them in a cookie & auto-load them on page load. I just don't know if chm files can have cookies.

budRich
  • Members
  • 146 posts
  • Last active: Aug 03 2015 08:33 PM
  • Joined: 09 Aug 2011
Guest: A settings page, or at least a theme switcher would be awesome. I used HTML Help Workshop to compile/decompile the chm, its free from our friends at Microsoft. Try that and let us know what you find out.

I see a possibility where html based settings gui and help is in the same file. You could read the cookies with ahk and apply the values to vars in your scripts.

  • Guests
  • Last active:
  • Joined: --
I still need to fully test it more, but I think cookies-in-a-chm are out (they would only stick until I closed the help window {even with "expires" set}). I think the next-best-thing (& possibly easier to write) would be an "AutoHotkey.css" or "AutoHotkey.chm.css" file outside the chm, but have the files inside the chm try to link to it, somehow.

tomoe_uehara
  • Members
  • 2166 posts
  • Last active: Jun 11 2015 05:33 PM
  • Joined: 05 Sep 2009

Wintitle = AHK Hjälpen



budRich
  • Members
  • 146 posts
  • Last active: Aug 03 2015 08:33 PM
  • Joined: 09 Aug 2011
Guest: Loading an external css file, hope it works. Keep on testing.

tomoe_uehara: Oops.

benvhoff
  • Members
  • 3 posts
  • Last active: Jul 29 2014 09:36 AM
  • Joined: 04 Sep 2011
If not being able to find the location to download the editor for the AHK scripts and not being able to read the small font in the help file means I'm not smart enough to use this ... OK ... because I don't see any messages from other newbies that are having a problem.

I find AHK to be amazing so far but I'm stuck .

  • Guests
  • Last active:
  • Joined: --

...download the editor for the AHK scripts...

...there is no specific "editor for AHK scripts"...Notepad or any other "text editor" will work.

I recommend Notepad2...just because it's better than Windows Notepad, but it don't have specific AutoHotkey support. However, this version does: Notepad2-mod (but I have not tried that version yet). By "AutoHotkey support" I just mean "syntax highlighting", you don't need "AutoHotkey support" for any "text editor" to be able to write scripts.

Menixator
  • Members
  • 744 posts
  • Last active: Sep 01 2015 02:54 PM
  • Joined: 10 Jul 2013

Guest: Loading an external css file, hope it works. Keep on testing.

tomoe_uehara: Oops.


To include this css, You can just extract the chm file using 7-zip.
Replace the css, Recompile using Microsoft Html Help.


Paddelbaer
  • Members
  • 10 posts
  • Last active: Jul 16 2013 12:16 PM
  • Joined: 11 Jul 2013

Looks Great,

 

Is it just me or is the Downloadlink broken? 

 

 



sv270190
  • Members
  • 19 posts
  • Last active:
  • Joined: 05 Jul 2013

link broken



gunner
  • Members
  • 79 posts
  • Last active: Aug 11 2013 11:18 AM
  • Joined: 05 Jun 2013

To include this css, You can just extract the chm file using 7-zip.
Replace the css, Recompile using Microsoft Html Help.

thnx