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
---------------------------
Portable AHK Studio: Where does help CHM file go?
Moderator: maestrith
Portable AHK Studio: Where does help CHM file go?
Last edited by gregster on 09 Jan 2021, 21:11, edited 1 time in total.
Reason: Moved to 'AHK Studio' subforum.
Reason: Moved to 'AHK Studio' subforum.
ste(phen|ve) kunkel
Re: Portable AHK Studio: Where does help CHM file go?
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.
Also, thanks for putting this post in the correct location Gregster.
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