SIMPLIFIED How to install AutoHotKey_H COMPLETE

Ask for help, how to use AHK_H, etc.
BeamInn
Posts: 2
Joined: 29 Apr 2019, 00:28
GitHub: fohsap

SIMPLIFIED How to install AutoHotKey_H COMPLETE

14 May 2020, 07:01

Hello. I've been scouring the internet looking for a method of installing AHK_H. I've found tons of forum posts with people who have had problems with small aspects and little post-installation glitches, but I haven't found even one single trace of a guide to installing (yes, I saw the "how to compile" and tried that with little success, also).

I have the pre-compiled stuff downloaded. C:\ahkdll-v2-release-master\...

What do I do next? Apart from downloading this stuff, I don't know what else to do.
User avatar
boiler
Posts: 6876
Joined: 21 Dec 2014, 02:44

Re: SIMPLIFIED How to install AutoHotKey_H COMPLETE

14 May 2020, 08:38

Are you just looking to install AHK_H? If so, you don't need to compile it from its source code. Have you tried just downloading and installing it from here the link below?
https://hotkeyit.github.io/v2/

If you run into problems at that point, ask specific questions in the AHK_H Ask For Help sub-forum.
HotKeyIt
Posts: 2255
Joined: 29 Sep 2013, 18:35
Contact:

Re: SIMPLIFIED How to install AutoHotKey_H COMPLETE

14 May 2020, 08:42

All you need to do is to extract the files + copy relevant AutoHotkey.exe to Compiler Directory + renaming it to Ahk2Exe.exe.

If you already installed AutoHotkey and want to replace it: Copy & paste the content of the relevant folder (32/64 - MD/MT) into installed directory (backup your old version!).
Also rename (backup) old Compiler folder and copy & paste ahk_h compiler if needed.
SOTE
Posts: 1211
Joined: 15 Jun 2015, 06:21

Re: SIMPLIFIED How to install AutoHotKey_H COMPLETE

15 May 2020, 08:24

BeamInn wrote:
14 May 2020, 07:01
Hello. I've been scouring the internet looking for a method of installing AHK_H...
AHK_H files from the official GitHub can directly replace AHK_L files. You don't need to recompile anything or have to use Visual Studio (until you are ready or want to), unless you are trying to change the default password. Ahk2Exe has 3 options. 1) Compression 2) Encrypt with Password 3) MPRESS. You don't need to use Encryption to compile (bind) .ahk files to .exe files. You can choose options 1. (compression) AND/OR 3. (MPRESS), which will provide a very usable layer of protection by themselves (though not equal to encryption).
LBJ
Posts: 4
Joined: 10 Aug 2020, 04:22

Re: SIMPLIFIED How to install AutoHotKey_H COMPLETE

11 Aug 2020, 21:21

HotKeyIt wrote:
14 May 2020, 08:42
All you need to do is to extract the files + copy relevant AutoHotkey.exe to Compiler Directory + renaming it to Ahk2Exe.exe.

Firstly, thank you very much for your work on this excellent project.

My results from just now on a clean system are...

1. download ahkdll-v2-release-master.zip
2. extract
3. copy x64w/AutoHotkey.exe to Compiler/Akh2Exe.exe
4. execute Ahk2Exe.exe
5. error...

Error in #inlude file
"U:\ahkdll-v2-release-master\Compiler\IconChanger.ahk":
Call to nonexistent function.

Specifically: VarSetCapacity(igh, 8), f.RawRead(igh, 6)

---> 015: VarSetCapacity(igh, 8), f.RawRead(igh, 6)

Have I misunderstood your instructions for the process?

Best regards

LBJ
LBJ
Posts: 4
Joined: 10 Aug 2020, 04:22

Re: SIMPLIFIED How to install AutoHotKey_H COMPLETE

13 Aug 2020, 20:25

LBJ wrote:
11 Aug 2020, 21:21
Error in #inlude file
"U:\ahkdll-v2-release-master\Compiler\IconChanger.ahk":
Call to nonexistent function.

Specifically: VarSetCapacity(igh, 8), f.RawRead(igh, 6)

Answering my own question, I can now see that this is a conflict between the versions of AutoHotkey.exe and the IconChanger.ahk script included in the current AHK_H release.

The packager has missed the change in VarSetCapacity vs VarSetStrCapacity in V2 in the current release provided for download.

Best regards

LBJ
tpitera
Posts: 13
Joined: 27 Oct 2020, 15:56

Re: SIMPLIFIED How to install AutoHotKey_H COMPLETE

07 Dec 2020, 09:39

I started out with vanilla AHK. I downloaded the zip file for AHK_H and copied and pasted the files into the compiler folder. The instructions on the readme says "Handle FileInstall on same-line If* commands." but I am unaware how to do this. I have tried the suggestion of copy and pasting the exe file into the compiler folder and renaming as instructed above and still getting errors. Does anyone know how to address this?
silentblood
Posts: 6
Joined: 30 Jul 2016, 12:26

Re: SIMPLIFIED How to install AutoHotKey_H COMPLETE

27 Jan 2021, 19:22

I have followed these directions till I'm blue in the face and it never works. I guess maybe I'm missing something.
HotKeyIt
Posts: 2255
Joined: 29 Sep 2013, 18:35
Contact:

Re: SIMPLIFIED How to install AutoHotKey_H COMPLETE

27 Jan 2021, 21:29

In latest release you need only to copy the complete compiler folder and desired exe to AutoHotkey folder.

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 3 guests