Ahk2exe_H from command line Topic is solved

Ask for help, how to use AHK_H, etc.
User avatar
Brazolek123
Posts: 187
Joined: 06 Jun 2016, 16:02

Ahk2exe_H from command line

Post by Brazolek123 » 24 Jun 2022, 00:23

Full command:

E:\C4D\projects\compiler\ahkdll-v1-release-master\Compiler\Ahk2Exe.exe /in C:\Users\MT\Documents\C4D\release\Draft\v0.9.07\20220623203422\edit\main.ahk /out C:\Users\MT\Documents\C4D\release\Draft\v0.9.07\20220623203422\output\main.exe /bin E:\C4D\projects\compiler\ahkdll-v1-release-master\Win32a\AutoHotkeySC.bin

Fighting with it for 30 minutes, finally gave up. Tried already with double quotation mark, without success. Do you have any advices for me?

It looks like it has troubles with reading parameters with slash ("/in") and interprets its as directory. Do you have any suggestions?
image.png
image.png (33.21 KiB) Viewed 1546 times

User avatar
Brazolek123
Posts: 187
Joined: 06 Jun 2016, 16:02

Re: Ahk2exe_H from command line  Topic is solved

Post by Brazolek123 » 24 Jun 2022, 13:45

Ok, I solved it.

Solution:
1) Recompile Ahk2exe.ahk to x64 executable with standard Ahk2exe.exe gui v1.1.333.10
2) Name it Ahk2Exe_64.exe
3) Provide exact paths to each required parameters (full command below)

"E:\C4D\projects\compiler\ahkdll-v1-release-master\Compiler\Ahk2Exe_64.exe" /in "C:\Users\MT\Documents\C4D\release\Draft\v0.9.07\20220623203422\edit\main.ahk" /out "C:\Users\MT\Documents\C4D\release\Draft\v0.9.07\20220623203422\output\main.exe" /bin "E:\C4D\projects\compiler\ahkdll-v1-release-master\x64w\AutoHotkeySC.bin"

I guess this is also the answer to the all questions listed in here https://www.google.com/search?&q=autohotkey+script+file+not+found

Post Reply

Return to “Ask for Help”