Page 1 of 1

AHK2Exe CommandLine Args. Compress and Encrypt

Posted: 10 Jun 2019, 03:06
by murataygun
Hi,
I automated my compiling task with AHK. I want to use AutoHotkey_Hs encrypt and compression (not /mpress) features.
/encrypt or /compress parameters doesnt work.

I downloaded AHK2Exe from;
https://github.com/HotKeyIt/ahkdll-v1-release/blob/master/Compiler/Ahk2Exe.ahk

Thank you.

Re: AHK2Exe CommandLine Args. Compress and Encrypt

Posted: 25 Jul 2019, 10:30
by murataygun
Come on. Cant compile scripts with command line. Isnt this against the mantality of automation language?

Re: AHK2Exe CommandLine Args. Compress and Encrypt

Posted: 25 Jul 2019, 15:37
by HotKeyIt
Try /NoDecompile

Re: AHK2Exe CommandLine Args. Compress and Encrypt

Posted: 24 Oct 2019, 17:11
by murataygun
No way :(

Code: Select all

cd C:\Program Files\AutoHotkey\Compiler\
Ahk2Exe.exe /in "C:\intel\AHKProb1\Prokalca.ahk" /out "C:\intel\HizliTaburcu\Prokalca.exe" /icon "C:\intel\AHKProb1\res\muraticon.ico" /NoDecompile
That gives the message box of this;

Code: Select all

BadParams:
MsgBox, 64, Ahk2Exe, Command Line Parameters:`n`n%A_ScriptName% /in infile.ahk [/out outfile.exe] [/icon iconfile.ico] [/bin AutoHotkeySC.bin]
ExitApp

Re: AHK2Exe CommandLine Args. Compress and Encrypt  Topic is solved

Posted: 09 Dec 2019, 16:54
by HotKeyIt
Download again, should work fine now, but the script will be only compressed, use /pass to encode as well

Re: AHK2Exe CommandLine Args. Compress and Encrypt

Posted: 15 Dec 2019, 17:59
by murataygun
HotKeyIt wrote:
09 Dec 2019, 16:54
Download again, should work fine now, but the script will be only compressed, use /pass to encode as well
I saw you updated it. Thank you very much.