AutoHotkey v2 Help

Discuss Autohotkey related topics here. Not a place to share code.
Forum rules
Discuss Autohotkey related topics here. Not a place to share code.
LAPIII
Posts: 671
Joined: 01 Aug 2021, 06:01

AutoHotkey v2 Help

Post by LAPIII » 16 Sep 2023, 14:02

I tried changing some settings and upon saving I got the following error message:

Message_from_webpage 16_09_23 02⦂55⦂13⦂684 PM.jpg
Message_from_webpage 16_09_23 02⦂55⦂13⦂684 PM.jpg (15.91 KiB) Viewed 1403 times

So I reopened AutoHotkey v2 Help, but as Administrator. My questions is:

Do I always need to run it as administrator in order to use it with settings that are not default?

lexikos
Posts: 9690
Joined: 30 Sep 2013, 04:07
Contact:

Re: AutoHotkey v2 Help

Post by lexikos » 17 Sep 2023, 00:08

Why not just try running as a standard user, and find out?

In order to save the settings, you need write access to the config file. You don't need write access if you are not creating or modifying the file.

You can have write access without being an administrator, after the file's permissions are modified (by an administrator).

LAPIII
Posts: 671
Joined: 01 Aug 2021, 06:01

Re: AutoHotkey v2 Help

Post by LAPIII » 17 Sep 2023, 04:05

I'm editing chm_config.js, trying to make the Selected tab to be Search, 3, and Color theme to be Dark, 1. It isn't working; once I save the file and then open AutoHotkey v2 Help then I see that no changes have been made. Do you know what I have been doing wrong?

lexikos
Posts: 9690
Joined: 30 Sep 2013, 04:07
Contact:

Re: AutoHotkey v2 Help

Post by lexikos » 17 Sep 2023, 21:24

How would I? If you post the content of the file, I or someone else can check or test it.

neogna2
Posts: 600
Joined: 15 Sep 2016, 15:44

Re: AutoHotkey v2 Help

Post by neogna2 » 18 Sep 2023, 03:50

@LAPIII this chm_config.js data works on my PC to make help start with tab "Search" focused and dark mode

Code: Select all

config = {
  "fontSize": 1,
  "clickTab": 2,
  "displaySidebar": true,
  "colorTheme": 1,
  "collapseQuickRef": 1
}
For anyone else reading this thread: to get to the page where the options file is generated click the cogwheel toolbar icon in in the AutoHotkey Help window. After picking settings there a popup ask permission to use ActiveX to save the file chm_config.js in the same folder as AutoHotkey.chm. Close help and start it again and the new settings should work.


help_settings.png
help_settings.png (81.15 KiB) Viewed 1223 times

Post Reply

Return to “General Discussion”