Upcoming Ahk2Exe Changes (2024)

Post your working scripts, libraries and tools for AHK v1.1 and older
TAC109
Posts: 1121
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2023)

19 Aug 2023, 20:23

Update - 1.1.37.01a, 20 August 2023
  • Avoid copying compiled .exe permissions from temp.
  • Fix 'Save script as' when Base compiler directive selected.
  • Local help now shows v2 if Base compiler directive selected.
See this post for download details.
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
TAC109
Posts: 1121
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2023)

20 Aug 2023, 23:59

Update - 1.1.37.01b, 21 August 2023
  • Fix: compile of new .exe failed in 1.1.37.01a.
See this post for download details.
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
TAC109
Posts: 1121
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2023)

29 Sep 2023, 21:53

Update - 1.1.37.01c, 30 September 2023
  • Fix Base compiler directive not fully expanding built-in variables.
  • Fix "Save script as' for v1 & v2.
  • Add diagnostics to 'Syntax check' error message.
See this post for download details.
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
User avatar
mslonik
Posts: 145
Joined: 21 Feb 2019, 04:38
Location: Poland
Contact:

Re: Upcoming Ahk2Exe Changes (2023)

17 Nov 2023, 13:47

Hi,

I suppose something is still wrong with Directive

Code: Select all

;@Ahk2Exe-Base [Path\]Name [, [Exe_path\][Name], Codepage]
.
1.1.37.01c, 30 September 2023
Fix Base compiler directive not fully expanding built-in variables.
Confirmed, it works.

But if user defined variable is used within this directive, in particular in section

Code: Select all

[Exe_path\][Name]
then it is not interpreted. For example variable

Code: Select all

%U_Filename%
is literally added to executable filename (executable filename contains literally string %U_Filename%).

Kind regards, mslonik (🐘)

My scripts on this forum: Hotstrings Diacritic O T A G L E
Please become my patreon: Patreon👍
Written in AutoHotkey text replacement tool: Hotstrings.technology
Courses on AutoHotkey :ugeek:
TAC109
Posts: 1121
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2023)

17 Nov 2023, 22:31

Unfortunately, because the Base directive is handled at an earlier stage of the compilation process, there is a limit to the kind of replacements that can be used. This note for the previous parameter also applies to the parameter you are having problems with:
Any use of built-in variable replacements must only be from group 1 above.
You could maybe use the ExeName directive instead.

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
TAC109
Posts: 1121
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2024)

11 Feb 2024, 18:55

Update - 1.1.37.01c0, 12 February 2024
  • Rationalise detection of major AHK version.
  • Enhance for MS Store version.
See this post for download details.
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
TAC109
Posts: 1121
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2024)

15 Mar 2024, 20:13

Update 1.1.37.01c1, 16 March 2024
  • Send parameter errors to stdout/stderr if in /Silent mode.
  • Prevent compression when compiling Ahk2Exe.
See this post for download details.
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
TAC109
Posts: 1121
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2024)

Yesterday, 19:41

Update - 1.1.37.02a0, 17 May 2024
  • Get Mpress more reliably in the Updater.
  • Fix addition of new base file in the GUI.
See this post for download details.
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
User avatar
JoeWinograd
Posts: 2208
Joined: 10 Feb 2014, 20:00
Location: U.S. Central Time Zone

Re: Upcoming Ahk2Exe Changes (2024)

Yesterday, 22:30

TAC109 wrote:Get Mpress more reliably in the Updater.
Hi TAC,
Just to confirm...it works! Before, it shows MPRESS as Offline:

update with 1.1.37.01c1.png
update with 1.1.37.01c1.png (11.55 KiB) Viewed 152 times

After, it shows MPRESS as Up-to-date:

fixed mpress update.png
fixed mpress update.png (11.33 KiB) Viewed 152 times

Thanks very much...nice fix! Regards, Joe
TAC109
Posts: 1121
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2024)

Yesterday, 23:30

Thanks @JoeWinograd.

I have set up an Mpress binary release on GitHub and now download it from there to avoid the recent problems with the AutoHotkey web site.

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
User avatar
JoeWinograd
Posts: 2208
Joined: 10 Feb 2014, 20:00
Location: U.S. Central Time Zone

Re: Upcoming Ahk2Exe Changes (2024)

Today, 00:49

TAC109 wrote:I have set up an Mpress binary release on GitHub and now download it from there to avoid the recent problems with the AutoHotkey web site.
Great idea! The AutoHotkey web site downloads (via UrlDownloadToFile in V1 and Download in V2) are still not working, as of a few minutes ago. For anyone not familiar with the problem, it is being discussed at this forum thread. Cheers, Joe

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 79 guests