Upcoming Ahk2Exe Changes (2019)

Post your working scripts, libraries and tools
User avatar
JoeWinograd
Posts: 1544
Joined: 10 Feb 2014, 20:00

Re: Upcoming Ahk2Exe Changes (2019)

10 Jul 2020, 13:49

TAC109 wrote:This version is now included in the official AutoHotkey release (version 1.1.33.00).
Hi TAC,

First, both thanks and congratulations on your hard work on this superb enhancement, and for getting it included in the official AutoHotkey release. Thanks, also, to lexikos, joedf, and everyone else who had a hand in making this happen.

Until your previous post, I didn't realize that it was included in v1.1.33.00, so I did the usual of copying the Beta (9f), which worked fine. After your post, I removed the Beta and used the released Ahk2Exe...also worked perfectly!

It then occurred to me that I hadn't updated BinMod in quite a while, so I just did that...went to the 2020.06.20 version...also worked perfectly!

Thanks again for your hard work and for sharing! Regards, Joe
TAC109
Posts: 550
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2019)

10 Jul 2020, 18:58

Thanks @JoeWinograd. On looking back, I see that it has taken just over a year!
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts
User avatar
JoeWinograd
Posts: 1544
Joined: 10 Feb 2014, 20:00

Re: Upcoming Ahk2Exe Changes (2019)

10 Jul 2020, 19:05

Time flies...whether or not you're having fun. :)
pv007
Posts: 10
Joined: 20 Jul 2020, 23:50

Re: Upcoming Ahk2Exe Changes (2019)

21 Jul 2020, 16:41

@TAC109 how do i change icons of paused,etc and not just default exe icon using ahk2exe?
User avatar
JoeWinograd
Posts: 1544
Joined: 10 Feb 2014, 20:00

Re: Upcoming Ahk2Exe Changes (2019)

21 Jul 2020, 17:20

pv007 wrote:how do i change icons of paused,etc
Hi pv,

In case TAC is out-of-pocket now, here's the answer for you. The other four icons are as follows:

160: red H on white background
206: white S on green background
207: white H on red background (this is Paused)
208: white S on red background

Using TAC's compiler (which is now standard as of version 1.1.33.00), you would put this in your source code for those four icons:

;@Ahk2Exe-AddResource RedHonWhite.ico,160
;@Ahk2Exe-AddResource WhiteSonGreen.ico,206
;@Ahk2Exe-AddResource WhiteHonRed.ico,207
;@Ahk2Exe-AddResource WhiteSonRed.ico,208

Works a charm! Regards, Joe
pv007
Posts: 10
Joined: 20 Jul 2020, 23:50

Re: Upcoming Ahk2Exe Changes (2019)

21 Jul 2020, 17:44

@JoeWinograd hello, where in the source code should I add ? i don't understand it well, its suppose to me comment something? or add those lines somewhere inside the code with my icons name?
TAC109
Posts: 550
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2019)

21 Jul 2020, 17:50

@pv007
I’ve answered this in your post in the 'Ask for help' section.
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts
User avatar
JoeWinograd
Posts: 1544
Joined: 10 Feb 2014, 20:00

Re: Upcoming Ahk2Exe Changes (2019)

21 Jul 2020, 18:25

pv007 wrote:where in the source code should I add?
I put them towards the top of my script, but note in the documentation that position matters for some of the directives.
pv007 wrote:its suppose to me comment something?
Yes, the directives are comments in your AHK source code.
pv007 wrote:add those lines somewhere inside the code with my icons name?
Yes, add those lines (comments) inside your code, where each AddResource line has the file name (I always use the full path) of the icon as the first parameter (such as c:\MyScripts\HelloWorldPaused.ico) and the appropriate number as the second parameter (such as 207).

Regards, Joe
TAC109
Posts: 550
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2019)

28 Jul 2020, 18:49

lexikos wrote:
19 Jun 2020, 05:22
I took the liberty of replacing /inGui with /gui, so that I can release v1.1.33. I can't see any logical reason for /in and /gui to be combined.

While I was at it, I cleaned up the command line processing and fixed a couple of related bugs.


(Edit: The v1.1.33 release is being delayed by an issue with my latest code signing certificate.)
@lexikos I see that the final step of adding the Compile script (GUI) (or similar) context menu registry item didn’t make it into the AutoHotkey installer. (There was discussion on this in earlier posts in this thread.) Was there a reason for this omission?
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts
lexikos
Posts: 6979
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Upcoming Ahk2Exe Changes (2019)

28 Jul 2020, 21:36

No reason. I must have forgotten.
TAC109
Posts: 550
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe Changes (2019)

28 Jul 2020, 22:25

@lexikos May I help in any way for the next release?
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts

Return to “Scripts and Functions”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], PercivalOgg and 28 guests