downloaded ahk v1 dll release
trying to use AHk2exe to compile anything
have tried with .bin or .exe as base file
tried with encryption or not
none of the compiled exe's run. just silent exit
if i try to use ahk v2 release
ahk2exe will run using v2 executable, but clicking 'compile' button will fail with an #noEnv synxtax error
compiler broken?
Re: compiler broken?
Just tested and all works fine for me, are you on Win10?
Did you try simple script and have you extracted the zip to separate folder + copied AutoHotkey.exe to Compiler + rename to Ahk2Exe.exe?
For v2 you are trying to compile a file that has #NoEnv in it, this directive is not available in v2!
Did you try simple script and have you extracted the zip to separate folder + copied AutoHotkey.exe to Compiler + rename to Ahk2Exe.exe?
For v2 you are trying to compile a file that has #NoEnv in it, this directive is not available in v2!
Re: compiler broken?
sorry, the #noEnv error was my mistake.
i am on win10. just copied AutoHotkey.exe to the compiler folder, and drag/dropped the ahk2exe.ahk script onto it. renaming it works too.
the script is simple: msgbox, helloworld or msgbox "helloworld"
but iwth both v1 and v2, the compiled output script is just failing silently and not displaying any msgbox
i am on win10. just copied AutoHotkey.exe to the compiler folder, and drag/dropped the ahk2exe.ahk script onto it. renaming it works too.
the script is simple: msgbox, helloworld or msgbox "helloworld"
but iwth both v1 and v2, the compiled output script is just failing silently and not displaying any msgbox
Re: compiler broken?
That should be fixed now, tanks for reporting.
Re: compiler broken?
only tested v1, but it looks like its fixedHotKeyIt wrote:That should be fixed now, tanks for reporting.
however, does the /E switch still work for compiled scripts to execute a different script? it didn't look like it worked for me
Re: compiler broken?
It does but only when compiled with AutoHotkey.exe
Re: compiler broken?
gotcha, thanks it works. i was trying to compile with .binHotKeyIt wrote:It does but only when compiled with AutoHotkey.exe
Who is online
Users browsing this forum: No registered users and 1 guest