Portable AHK Studio: Where does help CHM file go?

Editor for AutoHotkey written completely in AutoHotkey.

Moderator: maestrith

User avatar
kunkel321
Posts: 971
Joined: 30 Nov 2015, 21:19

Portable AHK Studio: Where does help CHM file go?

Post by kunkel321 » 09 Jan 2021, 20:47

Hi there. I'm using a portable setup for AHK Studio. It lives in this location
C:\PortableApps\AutoHotkey\AHK-Studio-master\AHK-Studio.exe
and mostly seems to work.
I put the AutoHotkey.chm help file with it, here
C:\PortableApps\AutoHotkey\AHK-Studio-master\AutoHotkey.chm
But it doesn't seem to work. If I try to invoke help, I get the below error message.

Does anyone know how/where the chm is supposed to go?


---------------------------
AHK-Studio.exe
---------------------------
Error: Failed attempt to launch program or document:
Action: <\AutoHotkey.chm>
Params: <>
Specifically: The system cannot find the file specified.
Line#
---> 10084: Run,outdir "\AutoHotkey.chm"
The current thread will exit.
---------------------------
OK
---------------------------
Last edited by gregster on 09 Jan 2021, 21:11, edited 1 time in total.
Reason: Moved to 'AHK Studio' subforum.
ste(phen|ve) kunkel

User avatar
kunkel321
Posts: 971
Joined: 30 Nov 2015, 21:19

Re: Portable AHK Studio: Where does help CHM file go?

Post by kunkel321 » 10 Jan 2021, 14:03

Additional info:
Oddly, The error message points me to line#10084, but as seen in the screenshot, that line doesn't seem to have anything to do with the help file.
Spoiler
I searched the code for "AutoHotkey.chm" and I think I found the problem. AHK Studio seems to assume itself to be installed in Program Files.
I tried doing a find/replace and pointing all of those to my portable location, but I just keep getting the same error message pointing to 10084. I'm pretty much a newb, so no surprise that it didn't work.... Oh well. At least I know why the help function isn't working.

Also, thanks for putting this post in the correct location Gregster.
ste(phen|ve) kunkel

Post Reply

Return to “AHK Studio”