ahkv2 - include Ahk2Exe by default
ahkv2 - include Ahk2Exe by default
Rather than being an additional download, it would be nice if Ahk2Exe was just included in the default installation of ahkv2. I think it's more convenient for the user, and is better for long term preservation.
Re: ahkv2 - include Ahk2Exe by default
Ahk2Exe is included with version 1.1 of AutoHotkey and is written in that version of the language. If the user has both AutoHotkey v1.1 and v2 installed then Ahk2Exe is already installed. If the user has only AutoHotkey v2 installed, then on the first attempt to compile, the latest version of Ahk2Exe will be automatically downloaded and installed. In many cases the user does not require to compile scripts, so this arrangement ensures that unnecessary software is not included unless required.
Cheers
Cheers
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
Re: ahkv2 - include Ahk2Exe by default
As for long term preservation, each AHK2Exe release with source code and SHA256 hashes is already available at https://github.com/AutoHotkey/Ahk2Exe/releases
Re: ahkv2 - include Ahk2Exe by default
Thank you both for your replies. Given that Ahk2Exe can be downloaded independently from ahk itself, perhaps if the user doesn't have an internet connection, they could be prompted to install it locally (if previously downloaded). Alternatively, maybe instructions on how to install it could be provided on github. I know Ahk2Exe could be launched from anywhere, but it wouldn't be launchable from the 'dash' unless copied to a specific location.
Re: ahkv2 - include Ahk2Exe by default
There is some guidance in the AutoHotkey.chm documentation file and at https://www.autohotkey.com/docs/v2/Scripts.htm#information
"The following folder structure is supported ..."
I now noticed that at https://www.autohotkey.com/docs/v2/Scripts.htm#ahk2exe the documentation says "A script compiler ... is included with the program", which is incorrect if "the program" here refers to v2.
"The following folder structure is supported ..."
I now noticed that at https://www.autohotkey.com/docs/v2/Scripts.htm#ahk2exe the documentation says "A script compiler ... is included with the program", which is incorrect if "the program" here refers to v2.
Re: ahkv2 - include Ahk2Exe by default
So, it appears the documentation is incorrect, or Ahk2Exe was intended to be included by default anyway (like v1).
Re: ahkv2 - include Ahk2Exe by default
The documentation for v2 Ahk2Exe will be fixed soon. Thanks for bring this to my attention.
Cheers
Cheers
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe