Possible issue: compiling with password in newer versions

Ask for help, how to use AHK_H, etc.
5ball
Posts: 12
Joined: 28 Feb 2016, 10:04

Possible issue: compiling with password in newer versions

10 Jun 2017, 02:19

I am setting up AHK_H on a new machine.

When I compile a script with the 'Encrypt' option in the AHK_H ahk2exe my scripts don't run. Instead they display 10 message boxes which concat a string, like:
a
aa
aaa
aaaF
aaaFF
...
before finally displaying an error.

The password in the AHK2EXE is the default 'AutoHotkey' and I am using the newest version straight from ahkdll-v1-release-master.

If I download the ahkdll-v1-release-master "commit 0d8d062 on Mar 5", this issue does not happen. If I compile with the Encryption option in this version everything works fine. So I assume this is some issue since one of the updates made to hide the password.

Did the default password change or something in the newest version? I hope I'm not missing something very obvious.

Thank you for your help!
necomerx
Posts: 57
Joined: 01 Jan 2021, 09:09

Re: Possible issue: compiling with password in newer versions

11 Feb 2022, 06:36

HotKeyIt wrote:
10 Jun 2017, 04:35
Thanks for the feedback, this has been fixed now.
Hi HotKeyIt,
i have the same problem with the version v1.1.33.02 after compiling with the encryption with my own password. Without encryption it work fine. Do you have an idea on how to fix the error?
here is the error that i have:
---------------------------
Case.exe
---------------------------
Error at line 0.

Line Text: PK�Xȫ
Error: This line does not contain a recognized action.

The program will exit.
---------------------------
OK
---------------------------
necomerx
Posts: 57
Joined: 01 Jan 2021, 09:09

Re: Possible issue: compiling with password in newer versions

11 Feb 2022, 08:35

HotKeyIt wrote:
11 Feb 2022, 07:28
Please try latest version (1.1.33.10)
Thanks HotKeyIt,
I'm trying to download this latest version on github https://github.com/HotKeyIt/ahkdll-v1-release but keep getting warning with my browsers and antivirus about virus. I know that it can be a false positive but i ask to be sure since i didn't get these warnings when i downloaded the older version. I can download it without worrying?
necomerx
Posts: 57
Joined: 01 Jan 2021, 09:09

Re: Possible issue: compiling with password in newer versions

11 Feb 2022, 09:22

Thanks, now download work without warning. I'll will try to compile with encryption and report back.
necomerx
Posts: 57
Joined: 01 Jan 2021, 09:09

Re: Possible issue: compiling with password in newer versions

11 Feb 2022, 09:42

I try it with encryption but always get this error:
---------------------------
Case.exe
---------------------------
Line Text: PKaL#���
Error: This line does not contain a recognized action.

The program will exit.
---------------------------
OK
---------------------------
necomerx
Posts: 57
Joined: 01 Jan 2021, 09:09

Re: Possible issue: compiling with password in newer versions

12 Feb 2022, 01:24

The script that i used was a MsgBox script. When i enable the encryption and leave alone the default password it work like there was no encryption but if i enter my own password, i get the error.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Possible issue: compiling with password in newer versions

12 Feb 2022, 06:36

Ok, got it, for your own password you have to recompile AHK_H with that password before you can use it!
necomerx
Posts: 57
Joined: 01 Jan 2021, 09:09

Re: Possible issue: compiling with password in newer versions

12 Feb 2022, 08:25

Understood. I will do that when i will start to use AHK_H, for now i'm using L and just putting an inputbox in the script does the trick. Thanks again HotKeyIt!

Return to “Ask for Help”

Who is online

Users browsing this forum: No registered users and 19 guests