Page 1 of 1

How to compile trough CMD?

Posted: 09 Jun 2018, 12:49
by mylovelycat
Hi!
I can compile via UI using this settings:

Image

How can do the same using CMD only? Thanks!

Re: How to compile trough CMD?

Posted: 09 Jun 2018, 12:52
by mylovelycat
UPD: using standard syntax ("c:\blabla\Ahk2Exe.exe" /in "C:\blabla\1.ahk" /out C:\blabla\1.exe" /icon "C:\blabla\1.ico") gives this:
Image

and also not sure how to choice AHK version using it

Re: How to compile trough CMD?

Posted: 09 Jun 2018, 14:10
by HotKeyIt
Either you compile Ahk2Exe.ahk or pass Ahk2Exe.ahk as first parameter to Ahk2Exe.exe!

Re: How to compile trough CMD?

Posted: 09 Jun 2018, 15:13
by mylovelycat
Thanks! When I try to compile with password, I got this error on any script (even blank). How can I fix it?

Image

Re: How to compile trough CMD?

Posted: 14 Jun 2018, 16:33
by HotKeyIt